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.37/2.37, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001139/0.001139, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009669/0.000967, allocations: 87.95 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.36e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2662, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9216/1.188, allocations: 151.3 MB / 1.366 GB, free: 2.844 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/1.188, allocations: 72.75 kB / 1.367 GB, free: 2.801 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02901/1.217, allocations: 13.96 MB / 1.38 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/1.217, allocations: 0 / 1.38 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.12e-05/1.217, allocations: 51.94 kB / 1.38 GB, free: 6.332 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.001681/1.219, allocations: 1.388 MB / 1.382 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/1.219, allocations: 12.03 kB / 1.382 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/1.219, allocations: 193.7 kB / 1.382 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/1.221, allocations: 0.8518 MB / 1.383 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.511e-05/1.221, allocations: 155.4 kB / 1.383 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/1.221, allocations: 199.1 kB / 1.383 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004079/1.225, allocations: 2.881 MB / 1.386 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/1.225, allocations: 15.88 kB / 1.386 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/1.225, allocations: 88.94 kB / 1.386 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/1.226, allocations: 60 kB / 1.386 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/1.228, allocations: 1.704 MB / 1.388 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009085/1.237, allocations: 10.88 MB / 1.398 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/1.237, allocations: 176.3 kB / 1.398 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/1.237, allocations: 80.14 kB / 1.398 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/1.237, allocations: 75.28 kB / 1.399 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.237, allocations: 109.8 kB / 1.399 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/1.237, allocations: 0 / 1.399 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0002767/1.237, allocations: 207.3 kB / 1.399 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/1.238, allocations: 126.7 kB / 1.399 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/1.241, allocations: 3.036 MB / 1.402 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.241, allocations: 29.64 kB / 1.402 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/1.242, allocations: 0.772 MB / 1.403 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/1.242, allocations: 4 kB / 1.403 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-07/1.242, allocations: 0 / 1.403 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.242, allocations: 310 kB / 1.403 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-06/1.242, allocations: 4 kB / 1.403 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-06/1.242, allocations: 4 kB / 1.403 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/1.242, allocations: 75.28 kB / 1.403 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.31e-05/1.242, allocations: 75.28 kB / 1.403 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002276/1.242, allocations: 207.2 kB / 1.403 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/1.242, allocations: 83.28 kB / 1.403 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/1.242, allocations: 87.2 kB / 1.404 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.848e-05/1.242, allocations: 150.6 kB / 1.404 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.834e-05/1.242, allocations: 75.28 kB / 1.404 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.945e-05/1.242, allocations: 154.5 kB / 1.404 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/1.243, allocations: 158 kB / 1.404 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.243, allocations: 83.22 kB / 1.404 GB, free: 0.5859 MB / 0.8542 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 0.000109/1.243, allocations: 263.2 kB / 1.404 GB, free: 332 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/1.243, allocations: 286.5 kB / 1.405 GB, free: 36 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/1.243, allocations: 323.5 kB / 1.405 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.777e-05/1.244, allocations: 181.2 kB / 1.405 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.678e-05/1.244, allocations: 184.2 kB / 1.405 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.371e-05/1.244, allocations: 184.2 kB / 1.405 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009765/1.245, allocations: 1.142 MB / 1.407 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-05/1.245, allocations: 108.2 kB / 1.407 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/1.245, allocations: 101 kB / 1.407 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.544e-05/1.245, allocations: 180.3 kB / 1.407 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/1.245, allocations: 192.2 kB / 1.407 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.568e-05/1.245, allocations: 180.6 kB / 1.407 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.857e-05/1.245, allocations: 180.2 kB / 1.407 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/1.245, allocations: 492.2 kB / 1.408 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/1.246, allocations: 0.5356 MB / 1.408 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/1.246, allocations: 180.3 kB / 1.409 GB, free: 12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/1.246, allocations: 108.8 kB / 1.409 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/1.247, allocations: 180.3 kB / 1.409 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/1.247, allocations: 105 kB / 1.409 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002569/1.249, allocations: 2.31 MB / 1.411 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.563e-06/1.249, allocations: 0 / 1.411 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004111/1.25, allocations: 159.9 kB / 1.411 GB, free: 9.633 MB / 0.8698 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.0001388/1.25, allocations: 174.5 kB / 1.412 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 2.825e-05/1.25, allocations: 0 / 1.412 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.25, allocations: 0 / 1.412 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/1.25, allocations: 0 / 1.412 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/1.251, allocations: 0.6469 MB / 1.412 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/1.253, allocations: 2.14 MB / 1.414 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000992/1.254, allocations: 1.372 MB / 1.416 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003538/1.255, allocations: 283 kB / 1.416 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/1.255, allocations: 83.38 kB / 1.416 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of SimCode: time 3.71e-07/1.255, allocations: 3.938 kB / 1.416 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of Templates: time 0.02068/1.275, allocations: 10.46 MB / 1.426 GB, free: 10.71 MB / 0.8855 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