Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.46/2.46, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 182.8 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.774/1.774, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 83.97 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.091e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2828, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8795/1.162, allocations: 150.6 MB / 1.359 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.163, allocations: 67.45 kB / 1.359 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03055/1.193, allocations: 13.83 MB / 1.373 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.512e-06/1.193, allocations: 0 / 1.373 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.74e-05/1.193, allocations: 46.59 kB / 1.373 GB, free: 32.16 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0019/1.195, allocations: 1.394 MB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.195, allocations: 7.688 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/1.196, allocations: 193.5 kB / 1.375 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/1.197, allocations: 0.8635 MB / 1.375 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/1.197, allocations: 65.59 kB / 1.375 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/1.197, allocations: 116.1 kB / 1.376 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001868/1.199, allocations: 1.498 MB / 1.377 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/1.201, allocations: 2.58 MB / 1.38 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/1.202, allocations: 13.61 kB / 1.38 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/1.202, allocations: 11.62 kB / 1.38 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/1.202, allocations: 61.84 kB / 1.38 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007956/1.21, allocations: 9.556 MB / 1.389 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/1.21, allocations: 165.1 kB / 1.389 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/1.21, allocations: 87.94 kB / 1.389 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/1.21, allocations: 79.22 kB / 1.389 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.21, allocations: 109.8 kB / 1.389 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/1.21, allocations: 0 / 1.389 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001057/1.21, allocations: 60.64 kB / 1.389 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/1.21, allocations: 51.41 kB / 1.39 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/1.211, allocations: 0.5216 MB / 1.39 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/1.211, allocations: 25.7 kB / 1.39 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/1.211, allocations: 0.7499 MB / 1.391 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/1.211, allocations: 0 / 1.391 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-07/1.211, allocations: 0 / 1.391 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.211, allocations: 353.6 kB / 1.391 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/1.211, allocations: 0 / 1.391 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/1.211, allocations: 0 / 1.391 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/1.211, allocations: 75.28 kB / 1.391 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-05/1.211, allocations: 79.23 kB / 1.391 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.915e-05/1.211, allocations: 64.7 kB / 1.391 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.211, allocations: 82.97 kB / 1.391 GB, free: 21.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/1.211, allocations: 79.31 kB / 1.391 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.208e-05/1.211, allocations: 157.8 kB / 1.392 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.092e-05/1.211, allocations: 83.2 kB / 1.392 GB, free: 20.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.933e-05/1.211, allocations: 154.4 kB / 1.392 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/1.212, allocations: 75.28 kB / 1.392 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/1.212, allocations: 79.22 kB / 1.392 GB, free: 20.42 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.163e-05/1.212, allocations: 255.5 kB / 1.392 GB, free: 20.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/1.212, allocations: 136 kB / 1.392 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/1.212, allocations: 145.7 kB / 1.393 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-05/1.212, allocations: 180.2 kB / 1.393 GB, free: 19.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.402e-05/1.212, allocations: 184.4 kB / 1.393 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.775e-05/1.212, allocations: 180.2 kB / 1.393 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/1.213, allocations: 0.9613 MB / 1.394 GB, free: 18.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/1.213, allocations: 105 kB / 1.394 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/1.213, allocations: 101 kB / 1.394 GB, free: 18.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-05/1.213, allocations: 184.2 kB / 1.394 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/1.213, allocations: 180 kB / 1.395 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.356e-05/1.213, allocations: 188.2 kB / 1.395 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.246e-05/1.213, allocations: 180 kB / 1.395 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/1.213, allocations: 334.5 kB / 1.395 GB, free: 17.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/1.213, allocations: 209 kB / 1.395 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/1.213, allocations: 188.2 kB / 1.396 GB, free: 17.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/1.214, allocations: 104.6 kB / 1.396 GB, free: 17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/1.214, allocations: 180.2 kB / 1.396 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.214, allocations: 104.8 kB / 1.396 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002346/1.214, allocations: 292 kB / 1.396 GB, free: 16.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.214, allocations: 0 / 1.396 GB, free: 16.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005839/1.214, allocations: 202.7 kB / 1.396 GB, free: 16.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/1.215, allocations: 181.1 kB / 1.397 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.072e-05/1.215, allocations: 3.938 kB / 1.397 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.215, allocations: 0 / 1.397 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/1.215, allocations: 0 / 1.397 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/1.215, allocations: 0.5346 MB / 1.397 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/1.217, allocations: 1.729 MB / 1.399 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/1.218, allocations: 1.438 MB / 1.4 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.153e-05/1.218, allocations: 12.23 kB / 1.4 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/1.218, allocations: 11.28 kB / 1.4 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.218, allocations: 0 / 1.4 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of Templates: time 0.005821/1.224, allocations: 1.106 MB / 1.401 GB, free: 13.58 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches