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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009983/0.0009984, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.556/2.556, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 11.94 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8081/0.8085, allocations: 146.8 MB / 0.9812 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.00152/0.8101, allocations: 0.8504 MB / 0.982 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005018/0.8106, allocations: 231.8 kB / 0.9822 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.8107, allocations: 11.88 kB / 0.9822 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.8109, allocations: 79.47 kB / 0.9823 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.8111, allocations: 75.72 kB / 0.9824 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.8112, allocations: 59.88 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00086/0.8121, allocations: 0.8001 MB / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.8137, allocations: 1.485 MB / 0.9847 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.814, allocations: 175.1 kB / 0.9848 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.8141, allocations: 198.8 kB / 0.985 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.8142, allocations: 12 kB / 0.985 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.834e-05/0.8142, allocations: 12 kB / 0.985 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004273/0.8147, allocations: 0.526 MB / 0.9856 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.8149, allocations: 256.8 kB / 0.9858 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.8164, allocations: 1.935 MB / 0.9877 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.8165, allocations: 0 / 0.9877 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8165, allocations: 4 kB / 0.9877 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.828e-05/0.8165, allocations: 0 / 0.9877 GB, free: 15.57 MB / 0.7481 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.001735/0.8183, allocations: 1.468 MB / 0.9891 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.8183, allocations: 12.03 kB / 0.9891 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003822/0.8187, allocations: 311.3 kB / 0.9894 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.819, allocations: 197.6 kB / 0.9896 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.8205, allocations: 0.9367 MB / 0.9905 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.8206, allocations: 148.1 kB / 0.9907 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.8208, allocations: 200 kB / 0.9909 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/0.825, allocations: 2.794 MB / 0.9936 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/0.8251, allocations: 11.88 kB / 0.9936 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.8253, allocations: 91.94 kB / 0.9937 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/0.8254, allocations: 56 kB / 0.9937 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.8283, allocations: 1.623 MB / 0.9953 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009526/0.8379, allocations: 10.46 MB / 1.006 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.838, allocations: 173.1 kB / 1.006 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.8381, allocations: 84.08 kB / 1.006 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.8381, allocations: 75.28 kB / 1.006 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.8382, allocations: 109.8 kB / 1.006 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 2.615e-06/0.8382, allocations: 3.938 kB / 1.006 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.000142/0.8383, allocations: 89.02 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.8384, allocations: 130.7 kB / 1.006 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009219/0.8393, allocations: 0.9009 MB / 1.007 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.8393, allocations: 25.7 kB / 1.007 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.8399, allocations: 0.8548 MB / 1.008 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.8399, allocations: 11.98 kB / 1.008 GB, free: 10 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.8399, allocations: 12 kB / 1.008 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.8401, allocations: 370.8 kB / 1.008 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.8402, allocations: 133.2 kB / 1.008 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.8407, allocations: 0.5873 MB / 1.009 GB, free: 8.672 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.841, allocations: 271.6 kB / 1.009 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.841, allocations: 4 kB / 1.009 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009231/0.842, allocations: 0.6928 MB / 1.01 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.842, allocations: 16.06 kB / 1.01 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.842, allocations: 16 kB / 1.01 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/0.8421, allocations: 27.95 kB / 1.01 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.8423, allocations: 87.77 kB / 1.01 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.585e-05/0.8423, allocations: 27.88 kB / 1.01 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.8426, allocations: 91.11 kB / 1.01 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.8427, allocations: 40 kB / 1.01 GB, free: 7.402 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 45 (booInp[9,5].y,booInp[9,4].y,booInp[9,3].y,booInp[9,2].y,booInp[9,1].y,booInp[8,5].y,booInp[8,4].y,booInp[8,3].y,booInp[8,2].y,booInp[8,1].y,booInp[7,5].y,booInp[7,4].y,booInp[7,3].y,booInp[7,2].y,booInp[7,1].y,booInp[6,5].y,booInp[6,4].y,booInp[6,3].y,booInp[6,2].y,booInp[6,1].y,booInp[5,5].y,booInp[5,4].y,booInp[5,3].y,booInp[5,2].y,booInp[5,1].y,booInp[4,5].y,booInp[4,4].y,booInp[4,3].y,booInp[4,2].y,booInp[4,1].y,booInp[3,5].y,booInp[3,4].y,booInp[3,3].y,booInp[3,2].y,booInp[3,1].y,booInp[2,5].y,booInp[2,4].y,booInp[2,3].y,booInp[2,2].y,booInp[2,1].y,booInp[1,5].y,booInp[1,4].y,booInp[1,3].y,booInp[1,2].y,booInp[1,1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0008543/0.8435, allocations: 0.7568 MB / 1.011 GB, free: 6.637 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.8436, allocations: 156.3 kB / 1.011 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.8437, allocations: 169.2 kB / 1.011 GB, free: 6.301 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.612e-05/0.8438, allocations: 184.2 kB / 1.011 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.041e-05/0.8439, allocations: 180.3 kB / 1.012 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.262e-05/0.8439, allocations: 188.2 kB / 1.012 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.8454, allocations: 1.605 MB / 1.013 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/0.8455, allocations: 108.9 kB / 1.013 GB, free: 3.961 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.8455, allocations: 105 kB / 1.014 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.586e-05/0.8456, allocations: 176.3 kB / 1.014 GB, free: 3.672 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.8456, allocations: 184.2 kB / 1.014 GB, free: 3.484 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.486e-05/0.8457, allocations: 176.3 kB / 1.014 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.355e-05/0.8457, allocations: 196.2 kB / 1.014 GB, free: 3.105 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.8459, allocations: 347.1 kB / 1.015 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.846, allocations: 229.3 kB / 1.015 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/0.8461, allocations: 180.3 kB / 1.015 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.8462, allocations: 108.9 kB / 1.015 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.8463, allocations: 180.2 kB / 1.015 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.8463, allocations: 116.8 kB / 1.015 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004895/0.8468, allocations: 499 kB / 1.016 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8468, allocations: 0 / 1.016 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008247/0.8476, allocations: 333.3 kB / 1.016 GB, free: 1.082 MB / 0.7637 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.0004595/0.8481, allocations: 0.8604 MB / 1.017 GB, free: 200 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.8485, allocations: 290.9 kB / 1.017 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8485, allocations: 0.9375 kB / 1.017 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.8485, allocations: 0 / 1.017 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.849, allocations: 0.5651 MB / 1.018 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.8559, allocations: 5.403 MB / 1.023 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.8569, allocations: 1.392 MB / 1.024 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000498/0.8574, allocations: 296.5 kB / 1.025 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.8579, allocations: 0.5071 MB / 1.025 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.8579, allocations: 3.938 kB / 1.025 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.8865, allocations: 13.46 MB / 1.038 GB, free: 10.14 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.8867, allocations: 232.4 kB / 1.039 GB, free: 9.898 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.1, allocations: 0 / 1.039 GB, free: 9.898 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat