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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001275/0.001275, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.624/1.624, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.8 kB / 0.8141 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3776, allocations: 140.4 MB / 0.9512 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.004758/0.3824, allocations: 2.095 MB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.3849, allocations: 1.174 MB / 0.9544 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.3851, allocations: 4 kB / 0.9544 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.3857, allocations: 87.52 kB / 0.9545 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.386, allocations: 111.4 kB / 0.9546 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.3865, allocations: 183.5 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.3869, allocations: 323.9 kB / 0.955 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.3872, allocations: 107.6 kB / 0.9551 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.3874, allocations: 139.4 kB / 0.9553 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3875, allocations: 143.4 kB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.3876, allocations: 28 kB / 0.9554 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3878, allocations: 67.98 kB / 0.9555 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3879, allocations: 87.67 kB / 0.9556 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.388, allocations: 143.2 kB / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.3885, allocations: 462.4 kB / 0.9562 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3886, allocations: 0 / 0.9562 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3886, allocations: 0 / 0.9562 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3886, allocations: 0 / 0.9562 GB, free: 2.875 MB / 0.7325 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.001118/0.3897, allocations: 0.6034 MB / 0.9568 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.3898, allocations: 15.97 kB / 0.9568 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.734e-05/0.3899, allocations: 36.55 kB / 0.9568 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.3904, allocations: 343.3 kB / 0.9571 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.3905, allocations: 12 kB / 0.9571 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.3905, allocations: 24 kB / 0.9572 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.3909, allocations: 177.3 kB / 0.9573 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3909, allocations: 4 kB / 0.9573 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.391, allocations: 12 kB / 0.9574 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.391, allocations: 4 kB / 0.9574 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.3913, allocations: 119.9 kB / 0.9575 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.3924, allocations: 0.6483 MB / 0.9581 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.3929, allocations: 194.9 kB / 0.9583 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3931, allocations: 76.83 kB / 0.9584 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.3931, allocations: 7.906 kB / 0.9584 GB, free: 468 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.3934, allocations: 131.3 kB / 0.9585 GB, free: 324 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3934, allocations: 0 / 0.9585 GB, free: 324 kB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0005209/0.3939, allocations: 231.8 kB / 0.9587 GB, free: 88 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.394, allocations: 55.41 kB / 0.9588 GB, free: 20 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.3944, allocations: 366.8 kB / 0.9591 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.3944, allocations: 37.64 kB / 0.9592 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3946, allocations: 168.4 kB / 0.9593 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.3946, allocations: 39.45 kB / 0.9594 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3948, allocations: 73.67 kB / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3949, allocations: 338.8 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3951, allocations: 91.91 kB / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.3953, allocations: 144.8 kB / 0.96 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.3955, allocations: 147.1 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3956, allocations: 0 / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004587/0.396, allocations: 269.3 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3961, allocations: 4 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3961, allocations: 0 / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3961, allocations: 11.88 kB / 0.9604 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3962, allocations: 39.92 kB / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3963, allocations: 0 / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.3964, allocations: 35.84 kB / 0.9605 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3965, allocations: 12 kB / 0.9605 GB, free: 14.22 MB / 0.7481 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.0001867/0.3967, allocations: 177.5 kB / 0.9606 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3967, allocations: 27.62 kB / 0.9607 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.3968, allocations: 30.25 kB / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3968, allocations: 7.938 kB / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3968, allocations: 4 kB / 0.9607 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3968, allocations: 0 / 0.9607 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.3971, allocations: 329.4 kB / 0.961 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3972, allocations: 0 / 0.961 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.3972, allocations: 16 kB / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3972, allocations: 0 / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3973, allocations: 7.984 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3973, allocations: 3.938 kB / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3973, allocations: 4 kB / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3976, allocations: 208.6 kB / 0.9612 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3977, allocations: 108.7 kB / 0.9614 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.3978, allocations: 11.98 kB / 0.9614 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.3979, allocations: 19.92 kB / 0.9614 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.398, allocations: 31.95 kB / 0.9614 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.398, allocations: 8 kB / 0.9614 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002271/0.3983, allocations: 221.9 kB / 0.9616 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3983, allocations: 0 / 0.9616 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002927/0.3986, allocations: 63.89 kB / 0.9617 GB, free: 12.87 MB / 0.7481 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.001098/0.3997, allocations: 440 kB / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.4001, allocations: 197.9 kB / 0.9623 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4001, allocations: 0 / 0.9623 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4003, allocations: 79.91 kB / 0.9624 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4006, allocations: 55.52 kB / 0.9624 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.4015, allocations: 480.4 kB / 0.9629 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.4018, allocations: 0.779 MB / 0.9636 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000104/0.4019, allocations: 42.25 kB / 0.9637 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.402, allocations: 35.36 kB / 0.9637 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.402, allocations: 0 / 0.9637 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of Templates: time 0.007704/0.4097, allocations: 3.593 MB / 0.9672 GB, free: 7.332 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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