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.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: 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.008725/0.008725, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001468/0.001469, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.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.684/2.684, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 62.06 kB / 0.9508 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3789, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002634/0.3815, allocations: 1.151 MB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3836, allocations: 1.377 MB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3838, allocations: 4 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.401e-05/0.3839, allocations: 23.67 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.384, allocations: 39.59 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/0.3849, allocations: 302.3 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000486/0.3854, allocations: 427.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.3857, allocations: 120.2 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.3859, allocations: 155.5 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.3861, allocations: 147.4 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.3862, allocations: 48 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3863, allocations: 63.92 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.3864, allocations: 67.75 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.3866, allocations: 155.4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.3872, allocations: 486.4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3872, allocations: 3.938 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3872, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3872, allocations: 7.922 kB / 1.092 GB, free: 12.96 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001074/0.3883, allocations: 0.6111 MB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3884, allocations: 8.031 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3885, allocations: 28.66 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.3892, allocations: 331.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.3893, allocations: 20.38 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.3893, allocations: 32.06 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.3897, allocations: 165.5 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3897, allocations: 0 / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.3897, allocations: 15.98 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3897, allocations: 4 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.3899, allocations: 111.9 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.391, allocations: 0.6913 MB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.3914, allocations: 158.9 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3915, allocations: 69.12 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.3915, allocations: 7.875 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/0.3918, allocations: 127.3 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.3918, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004721/0.3923, allocations: 222.8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.3924, allocations: 63.28 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3926, allocations: 214.9 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.3927, allocations: 37.7 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3928, allocations: 144.5 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.3929, allocations: 55.28 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.393, allocations: 77.67 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3932, allocations: 330.8 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3934, allocations: 95.95 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.3937, allocations: 163.8 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.394, allocations: 213.3 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.394, allocations: 4 kB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006484/0.3947, allocations: 359.9 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.3947, allocations: 63.39 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3948, allocations: 3.938 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.3948, allocations: 4 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.3949, allocations: 23.94 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.3949, allocations: 4 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.3953, allocations: 87.78 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.3954, allocations: 8 kB / 1.097 GB, free: 8.16 MB / 0.8575 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.000186/0.3955, allocations: 155.5 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.3956, allocations: 23.75 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.3957, allocations: 29.81 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3957, allocations: 0 / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3957, allocations: 0 / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.3957, allocations: 8.016 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.396, allocations: 293.4 kB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.396, allocations: 7.938 kB / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.3961, allocations: 11.98 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3961, allocations: 4 kB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3961, allocations: 4 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3961, allocations: 0 / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3962, allocations: 8 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3964, allocations: 195 kB / 1.097 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.3965, allocations: 96.86 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.3966, allocations: 4 kB / 1.098 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.3967, allocations: 15.98 kB / 1.098 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.3968, allocations: 35.95 kB / 1.098 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3968, allocations: 4 kB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001338/0.3969, allocations: 152.4 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3969, allocations: 0 / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002867/0.3972, allocations: 63.73 kB / 1.098 GB, free: 6.977 MB / 0.8575 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.0001876/0.3974, allocations: 123.2 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.3979, allocations: 342.7 kB / 1.098 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3979, allocations: 4.062 kB / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3981, allocations: 71.92 kB / 1.098 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3984, allocations: 53.73 kB / 1.098 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.3991, allocations: 360.4 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3995, allocations: 0.7402 MB / 1.099 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.564e-05/0.3996, allocations: 33.81 kB / 1.099 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.3996, allocations: 27.44 kB / 1.099 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.3996, allocations: 0 / 1.099 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.00742/0.4071, allocations: 3.506 MB / 1.103 GB, free: 1.688 MB / 0.8575 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 -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/jenkins/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