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.321/2.321, allocations: 393.5 MB / 408.5 MB, free: 11.06 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.001316/0.001316, allocations: 180 kB / 0.4902 GB, free: 2.312 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.732/1.732, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.000987/0.0009868, allocations: 107.6 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004383, allocations: 14.16 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.461, allocations: 151.3 MB / 1.377 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4612, allocations: 67.95 kB / 1.377 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02782/0.4891, allocations: 13.89 MB / 1.391 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4891, allocations: 4 kB / 1.391 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.528e-05/0.4892, allocations: 43.94 kB / 1.391 GB, free: 15.91 MB / 0.9011 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.002861/0.4921, allocations: 1.456 MB / 1.392 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4922, allocations: 8.031 kB / 1.392 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005299/0.4927, allocations: 193.7 kB / 1.392 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.4944, allocations: 0.8667 MB / 1.393 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.4945, allocations: 152.1 kB / 1.393 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.4947, allocations: 203.9 kB / 1.393 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003872/0.4986, allocations: 2.895 MB / 1.396 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.4987, allocations: 15.86 kB / 1.396 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.4989, allocations: 92 kB / 1.396 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.4989, allocations: 56 kB / 1.396 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.5015, allocations: 1.744 MB / 1.398 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6658/1.167, allocations: 10.87 MB / 1.409 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.186e-05/1.167, allocations: 170.8 kB / 1.409 GB, free: 156.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/1.168, allocations: 75.84 kB / 1.409 GB, free: 156.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.168, allocations: 107.7 kB / 1.409 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 3.526e-06/1.168, allocations: 0 / 1.409 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.0003443/1.168, allocations: 203.8 kB / 1.409 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/1.168, allocations: 134.2 kB / 1.409 GB, free: 156.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004941/1.173, allocations: 3.06 MB / 1.412 GB, free: 155.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/1.173, allocations: 26.36 kB / 1.412 GB, free: 155.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/1.174, allocations: 0.7717 MB / 1.413 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/1.174, allocations: 0 / 1.413 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/1.174, allocations: 0 / 1.413 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.511e-05/1.174, allocations: 307.7 kB / 1.414 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/1.174, allocations: 3.594 kB / 1.414 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/1.174, allocations: 0 / 1.414 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.683e-05/1.174, allocations: 76.69 kB / 1.414 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/1.174, allocations: 79.23 kB / 1.414 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002869/1.174, allocations: 212.9 kB / 1.414 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/1.174, allocations: 80.19 kB / 1.414 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/1.174, allocations: 81.38 kB / 1.414 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.971e-05/1.174, allocations: 159.1 kB / 1.414 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.404e-05/1.174, allocations: 79.78 kB / 1.414 GB, free: 154.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.497e-05/1.174, allocations: 152.5 kB / 1.414 GB, free: 154.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/1.175, allocations: 166.2 kB / 1.415 GB, free: 154.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/1.175, allocations: 76.94 kB / 1.415 GB, free: 154.5 MB / 0.9011 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 () * Number of clocked 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 0.0008467/1.176, allocations: 0.7414 MB / 1.415 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/1.176, allocations: 290.1 kB / 1.416 GB, free: 154 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/1.176, allocations: 323.1 kB / 1.416 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-05/1.176, allocations: 181.7 kB / 1.416 GB, free: 153.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-05/1.176, allocations: 182.7 kB / 1.416 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-05/1.176, allocations: 185.9 kB / 1.416 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/1.178, allocations: 1.141 MB / 1.418 GB, free: 152.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/1.178, allocations: 102.8 kB / 1.418 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/1.178, allocations: 110.8 kB / 1.418 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.009e-05/1.178, allocations: 178 kB / 1.418 GB, free: 152.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/1.178, allocations: 185.2 kB / 1.418 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-05/1.178, allocations: 182.9 kB / 1.418 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.83e-05/1.178, allocations: 181.3 kB / 1.418 GB, free: 151.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/1.178, allocations: 491.9 kB / 1.419 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.179, allocations: 0.5325 MB / 1.419 GB, free: 151.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/1.18, allocations: 186 kB / 1.42 GB, free: 151 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/1.18, allocations: 106.6 kB / 1.42 GB, free: 150.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/1.18, allocations: 178.1 kB / 1.42 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.18, allocations: 106 kB / 1.42 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003911/1.184, allocations: 2.345 MB / 1.422 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.21e-07/1.184, allocations: 0 / 1.422 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005085/1.184, allocations: 153.6 kB / 1.422 GB, free: 150.5 MB / 0.9011 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 () * Number of clocked 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.0001584/1.185, allocations: 173 kB / 1.423 GB, free: 150.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 4.97e-05/1.185, allocations: 1 kB / 1.423 GB, free: 150.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.185, allocations: 2.594 kB / 1.423 GB, free: 150.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/1.185, allocations: 4.969 kB / 1.423 GB, free: 150.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/1.186, allocations: 0.6378 MB / 1.423 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/1.19, allocations: 2.862 MB / 1.426 GB, free: 148.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.191, allocations: 1.377 MB / 1.427 GB, free: 148 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005286/1.192, allocations: 276.5 kB / 1.428 GB, free: 148 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/1.192, allocations: 78.97 kB / 1.428 GB, free: 147.9 MB / 0.9011 GB Notification: Performance of SimCode: time 7.31e-07/1.192, allocations: 0 / 1.428 GB, free: 147.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.03011/1.222, allocations: 10.45 MB / 1.438 GB, free: 147.5 MB / 0.9011 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