Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 114.9 kB / 16.37 MB, free: 6.016 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.001201/0.001201, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.01 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.313/2.313, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.83 kB / 0.814 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3128, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002751/0.3157, allocations: 1.157 MB / 0.9523 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3177, allocations: 1.381 MB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3179, allocations: 8 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.278e-05/0.318, allocations: 23.67 kB / 0.9537 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.3181, allocations: 35.66 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.3189, allocations: 291.1 kB / 0.954 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.3194, allocations: 435.8 kB / 0.9544 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.3196, allocations: 112.2 kB / 0.9545 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3198, allocations: 155.5 kB / 0.9546 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.32, allocations: 151.4 kB / 0.9548 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.3201, allocations: 44 kB / 0.9548 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3202, allocations: 63.97 kB / 0.9549 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.3203, allocations: 71.7 kB / 0.955 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3204, allocations: 155.4 kB / 0.9551 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.321, allocations: 490.4 kB / 0.9556 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.321, allocations: 0 / 0.9556 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.474e-06/0.321, allocations: 0 / 0.9556 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.321, allocations: 4 kB / 0.9556 GB, free: 3.52 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.000936/0.3219, allocations: 0.6081 MB / 0.9562 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.322, allocations: 12.03 kB / 0.9562 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.3221, allocations: 28.66 kB / 0.9562 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.3228, allocations: 331.8 kB / 0.9565 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.3228, allocations: 20.38 kB / 0.9565 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3229, allocations: 36.05 kB / 0.9566 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3232, allocations: 165.6 kB / 0.9567 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3232, allocations: 0 / 0.9567 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.3232, allocations: 8 kB / 0.9567 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3233, allocations: 7.984 kB / 0.9567 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3235, allocations: 112 kB / 0.9569 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3245, allocations: 0.6873 MB / 0.9575 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.3249, allocations: 162.8 kB / 0.9577 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.325, allocations: 68.84 kB / 0.9577 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3251, allocations: 3.984 kB / 0.9578 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.3254, allocations: 135.2 kB / 0.9579 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.3254, allocations: 4 kB / 0.9579 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004518/0.3259, allocations: 219.2 kB / 0.9581 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3259, allocations: 55.34 kB / 0.9581 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3261, allocations: 219 kB / 0.9584 GB, free: 476 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.3262, allocations: 37.7 kB / 0.9584 GB, free: 432 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3263, allocations: 144.5 kB / 0.9585 GB, free: 284 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.3263, allocations: 43.44 kB / 0.9586 GB, free: 240 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.3265, allocations: 77.67 kB / 0.9586 GB, free: 156 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3266, allocations: 338.8 kB / 0.959 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3268, allocations: 99.95 kB / 0.9591 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3271, allocations: 166.2 kB / 0.9592 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.3274, allocations: 223.5 kB / 0.9594 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3274, allocations: 0 / 0.9594 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005486/0.3279, allocations: 356.5 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.328, allocations: 71.33 kB / 0.9598 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.328, allocations: 0 / 0.9598 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.328, allocations: 4 kB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.3281, allocations: 20.12 kB / 0.9599 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3281, allocations: 3.984 kB / 0.9599 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.3285, allocations: 71.77 kB / 0.9599 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.3286, allocations: 19.98 kB / 0.96 GB, free: 14.72 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.00015/0.3287, allocations: 157.9 kB / 0.9601 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.3288, allocations: 23.66 kB / 0.9601 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.3288, allocations: 25.86 kB / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3288, allocations: 4 kB / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3288, allocations: 0 / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3289, allocations: 0 / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3291, allocations: 285.5 kB / 0.9604 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3292, allocations: 3.938 kB / 0.9604 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.3292, allocations: 23.92 kB / 0.9605 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3292, allocations: 0 / 0.9605 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3293, allocations: 8 kB / 0.9605 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3293, allocations: 0 / 0.9605 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3293, allocations: 0 / 0.9605 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3296, allocations: 198.8 kB / 0.9607 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.3296, allocations: 96.8 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.3297, allocations: 8 kB / 0.9608 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.3298, allocations: 19.98 kB / 0.9608 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.3299, allocations: 31.94 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3299, allocations: 19.97 kB / 0.9608 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001385/0.33, allocations: 140.6 kB / 0.961 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3301, allocations: 0 / 0.961 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002821/0.3303, allocations: 59.84 kB / 0.961 GB, free: 13.54 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: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.0001818/0.3305, allocations: 119.2 kB / 0.9611 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005342/0.3311, allocations: 344.7 kB / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3311, allocations: 0 / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3312, allocations: 71.92 kB / 0.9615 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.3315, allocations: 45.88 kB / 0.9616 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.3322, allocations: 384.2 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3325, allocations: 0.7442 MB / 0.9627 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.133e-05/0.3326, allocations: 25.94 kB / 0.9627 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.3327, allocations: 27.44 kB / 0.9627 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.3327, allocations: 0 / 0.9627 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of Templates: time 0.007033/0.3397, allocations: 3.496 MB / 0.9661 GB, free: 8.258 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches