Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_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.0012/0.0012, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001247/0.001247, allocations: 176.7 kB / 15.95 MB, free: 192 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.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.47/2.47, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 12 kB / 0.8378 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.768/0.7683, allocations: 146.8 MB / 0.9812 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.001617/0.77, allocations: 0.878 MB / 0.982 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.7707, allocations: 235.7 kB / 0.9823 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.7709, allocations: 7.938 kB / 0.9823 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.7712, allocations: 87.41 kB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.7714, allocations: 71.72 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.7716, allocations: 55.94 kB / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.7729, allocations: 0.8079 MB / 0.9833 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/0.7754, allocations: 1.473 MB / 0.9847 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.7757, allocations: 171.2 kB / 0.9849 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.7759, allocations: 202.8 kB / 0.9851 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.7759, allocations: 12 kB / 0.9851 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.776, allocations: 12 kB / 0.9851 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.7765, allocations: 0.5221 MB / 0.9856 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.7768, allocations: 264.8 kB / 0.9858 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.7788, allocations: 2.048 MB / 0.9878 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.7788, allocations: 0 / 0.9878 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7788, allocations: 0 / 0.9878 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.451e-05/0.7789, allocations: 0 / 0.9878 GB, free: 15.37 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.002248/0.7811, allocations: 1.483 MB / 0.9893 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.7812, allocations: 8.031 kB / 0.9893 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003835/0.7816, allocations: 319.3 kB / 0.9896 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.7819, allocations: 193.7 kB / 0.9898 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.7833, allocations: 0.9328 MB / 0.9907 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.7834, allocations: 160.1 kB / 0.9909 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.7837, allocations: 196 kB / 0.991 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.7874, allocations: 2.786 MB / 0.9938 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.7874, allocations: 7.938 kB / 0.9938 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.7876, allocations: 92 kB / 0.9939 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/0.7877, allocations: 56 kB / 0.9939 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.7901, allocations: 1.627 MB / 0.9955 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008768/0.7989, allocations: 10.47 MB / 1.006 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.799, allocations: 181.1 kB / 1.006 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.7991, allocations: 80.14 kB / 1.006 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.7991, allocations: 75.28 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.7992, allocations: 109.8 kB / 1.006 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.874e-06/0.7992, allocations: 0 / 1.006 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001341/0.7993, allocations: 84.98 kB / 1.006 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.7994, allocations: 134.7 kB / 1.006 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.8003, allocations: 0.9087 MB / 1.007 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.8004, allocations: 25.7 kB / 1.007 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.8009, allocations: 0.8469 MB / 1.008 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.8009, allocations: 11.98 kB / 1.008 GB, free: 9.793 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.8009, allocations: 16 kB / 1.008 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.8011, allocations: 366.8 kB / 1.008 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.8013, allocations: 137.2 kB / 1.009 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.8018, allocations: 0.5834 MB / 1.009 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.8021, allocations: 271.7 kB / 1.009 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.8021, allocations: 12 kB / 1.009 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009702/0.8031, allocations: 0.6966 MB / 1.01 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.8031, allocations: 12 kB / 1.01 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.8032, allocations: 16 kB / 1.01 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/0.8032, allocations: 27.95 kB / 1.01 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.8034, allocations: 87.7 kB / 1.01 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/0.8035, allocations: 31.88 kB / 1.01 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.8038, allocations: 79.12 kB / 1.01 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.8038, allocations: 43.98 kB / 1.01 GB, free: 7.188 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.0008971/0.8047, allocations: 0.7609 MB / 1.011 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/0.8048, allocations: 156.3 kB / 1.011 GB, free: 6.258 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.8049, allocations: 165.3 kB / 1.011 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.749e-05/0.805, allocations: 188.1 kB / 1.012 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-05/0.8051, allocations: 184.3 kB / 1.012 GB, free: 5.707 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.291e-05/0.8051, allocations: 180.3 kB / 1.012 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.8067, allocations: 1.601 MB / 1.014 GB, free: 3.863 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/0.8067, allocations: 105 kB / 1.014 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.8068, allocations: 104.9 kB / 1.014 GB, free: 3.645 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/0.8068, allocations: 180.3 kB / 1.014 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.8069, allocations: 180.2 kB / 1.014 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-05/0.807, allocations: 188.2 kB / 1.014 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.398e-05/0.807, allocations: 180.2 kB / 1.014 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.8072, allocations: 351.1 kB / 1.015 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.8073, allocations: 229.3 kB / 1.015 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/0.8074, allocations: 184.2 kB / 1.015 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.8075, allocations: 101 kB / 1.015 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.8076, allocations: 180.2 kB / 1.015 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.8077, allocations: 112.9 kB / 1.016 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005068/0.8082, allocations: 499 kB / 1.016 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8082, allocations: 3.938 kB / 1.016 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008403/0.809, allocations: 329.3 kB / 1.016 GB, free: 0.8828 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.0004667/0.8095, allocations: 0.8706 MB / 1.017 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.8099, allocations: 288.1 kB / 1.017 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8099, allocations: 4.125 kB / 1.017 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.8099, allocations: 0 / 1.017 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.8105, allocations: 0.5683 MB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.8174, allocations: 5.399 MB / 1.023 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.8185, allocations: 1.399 MB / 1.025 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005062/0.819, allocations: 296.5 kB / 1.025 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.8195, allocations: 0.5149 MB / 1.025 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of SimCode: time 8.31e-07/0.8196, allocations: 4 kB / 1.025 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.8495, allocations: 13.49 MB / 1.039 GB, free: 9.926 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.8498, allocations: 242.2 kB / 1.039 GB, free: 9.652 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.912, allocations: 1.312 kB / 1.039 GB, free: 9.652 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat