Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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.006962/0.006962, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001632/0.001632, allocations: 195.6 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.131/2.131, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7626/0.7638, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003122/0.7669, allocations: 2.088 MB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.7686, allocations: 1.168 MB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.7688, allocations: 10.88 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.7692, allocations: 86.89 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.7695, allocations: 101.8 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.77, allocations: 194.5 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.7704, allocations: 310.5 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.7706, allocations: 120.7 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.7708, allocations: 141.8 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.771, allocations: 137.4 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.7711, allocations: 27.81 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.7713, allocations: 73.69 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.7714, allocations: 85.08 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.7715, allocations: 139 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.7721, allocations: 457.9 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7721, allocations: 1.094 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7721, allocations: 0 / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.7721, allocations: 0.75 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001032/0.7732, allocations: 0.6118 MB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7732, allocations: 9.562 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.256e-05/0.7733, allocations: 53.23 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.134e-05/0.7734, allocations: 37.12 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.7739, allocations: 343.9 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.774, allocations: 13.78 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.774, allocations: 24.91 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.7745, allocations: 183.2 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.7745, allocations: 0 / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.7745, allocations: 5.688 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.7745, allocations: 8.781 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.7748, allocations: 126 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.7759, allocations: 0.6505 MB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.7763, allocations: 189.8 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.7765, allocations: 80.75 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.7766, allocations: 6.719 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.7768, allocations: 122.8 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.294e-06/0.7768, allocations: 0 / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0005224/0.7774, allocations: 243.5 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.7774, allocations: 57.38 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.7778, allocations: 355.8 kB / 1.095 GB, free: 80 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.7779, allocations: 37.66 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.778, allocations: 174.1 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.7781, allocations: 47.72 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.7782, allocations: 69.27 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7783, allocations: 339.7 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.7785, allocations: 88.81 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.7788, allocations: 144.8 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.7791, allocations: 155.2 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7791, allocations: 0 / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005062/0.7796, allocations: 263.6 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7796, allocations: 5.859 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.7797, allocations: 4.75 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.7797, allocations: 5.719 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.7799, allocations: 41.5 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.7799, allocations: 5.5 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.7801, allocations: 33.55 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.7801, allocations: 7.547 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.7803, allocations: 166.3 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.7803, allocations: 28.64 kB / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.253e-05/0.7804, allocations: 38.47 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.7804, allocations: 10.94 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.7805, allocations: 3.984 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7805, allocations: 1.625 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.7808, allocations: 325 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7808, allocations: 0 / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.7809, allocations: 15.52 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7809, allocations: 1.062 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.7809, allocations: 11.72 kB / 1.097 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7809, allocations: 5.047 kB / 1.097 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7809, allocations: 0.7969 kB / 1.097 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.7813, allocations: 213.4 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.7814, allocations: 99.78 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.7815, allocations: 12.3 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.7816, allocations: 16.59 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.7817, allocations: 30.42 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.7817, allocations: 13.11 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002632/0.782, allocations: 232.4 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.782, allocations: 0 / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002995/0.7823, allocations: 64.75 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001496/0.7838, allocations: 1.061 MB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.7842, allocations: 197.7 kB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7842, allocations: 0 / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.7844, allocations: 79.42 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.7848, allocations: 53.03 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.7881, allocations: 2.655 MB / 1.102 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.7884, allocations: 0.7746 MB / 1.103 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.7886, allocations: 40.59 kB / 1.103 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.7888, allocations: 96.56 kB / 1.103 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.7888, allocations: 3.938 kB / 1.103 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.119/4.908, allocations: 6.254 MB / 1.109 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/17.91, allocations: 17.8 kB / 1.109 GB, free: 10.12 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches