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.006834/0.006833, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001462/0.001462, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.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.393/2.393, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6895, allocations: 140.3 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002301/0.6919, allocations: 1.211 MB / 0.9508 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.6935, allocations: 1.394 MB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.6936, allocations: 2.375 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.6e-05/0.6937, allocations: 11.86 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.6938, allocations: 27.98 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.6945, allocations: 267.2 kB / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.6948, allocations: 366.2 kB / 0.9528 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.695, allocations: 117 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.6951, allocations: 129.7 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.6953, allocations: 128 kB / 0.9531 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.6953, allocations: 19.41 kB / 0.9532 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.6955, allocations: 34.11 kB / 0.9532 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.6955, allocations: 56.83 kB / 0.9532 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.6956, allocations: 134.2 kB / 0.9534 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.6959, allocations: 368.7 kB / 0.9537 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6959, allocations: 0.9375 kB / 0.9537 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.696, allocations: 0 / 0.9537 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.696, allocations: 3.938 kB / 0.9537 GB, free: 6.008 MB / 0.7169 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.0007838/0.6968, allocations: 0.6067 MB / 0.9543 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6968, allocations: 9.406 kB / 0.9543 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.743e-05/0.6969, allocations: 38.34 kB / 0.9544 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.6975, allocations: 332.5 kB / 0.9547 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.6975, allocations: 24.06 kB / 0.9547 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.6976, allocations: 32.25 kB / 0.9547 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.6979, allocations: 168.1 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6979, allocations: 0 / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.6979, allocations: 10.03 kB / 0.9549 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.698, allocations: 8.219 kB / 0.9549 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.6982, allocations: 115.1 kB / 0.955 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.6991, allocations: 0.6925 MB / 0.9557 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.6995, allocations: 162.9 kB / 0.9559 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.6996, allocations: 68.77 kB / 0.9559 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.6996, allocations: 1.344 kB / 0.9559 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.6999, allocations: 141.6 kB / 0.9561 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.6999, allocations: 3.938 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004351/0.7004, allocations: 222.7 kB / 0.9563 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.7004, allocations: 58.88 kB / 0.9563 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.7006, allocations: 213.7 kB / 0.9565 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.7006, allocations: 40.61 kB / 0.9566 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.7007, allocations: 143.3 kB / 0.9567 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.7008, allocations: 46.09 kB / 0.9568 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.7009, allocations: 78.61 kB / 0.9568 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.701, allocations: 335.3 kB / 0.9572 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.7012, allocations: 96.89 kB / 0.9572 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.7014, allocations: 162.1 kB / 0.9574 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.7016, allocations: 217.8 kB / 0.9576 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7016, allocations: 0 / 0.9576 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005526/0.7022, allocations: 354.3 kB / 0.9579 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.7023, allocations: 67.45 kB / 0.958 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.7023, allocations: 1.469 kB / 0.958 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.7023, allocations: 2.438 kB / 0.958 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.7024, allocations: 25.86 kB / 0.958 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.7024, allocations: 5.844 kB / 0.958 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.7028, allocations: 75.14 kB / 0.9581 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.7028, allocations: 19.14 kB / 0.9581 GB, free: 2.445 MB / 0.7169 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.000133/0.703, allocations: 155.4 kB / 0.9583 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.703, allocations: 24.56 kB / 0.9583 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.7031, allocations: 26.55 kB / 0.9583 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7031, allocations: 1.375 kB / 0.9583 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7031, allocations: 1.375 kB / 0.9583 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7031, allocations: 0 / 0.9583 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.7033, allocations: 293.7 kB / 0.9586 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7033, allocations: 3.938 kB / 0.9586 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.7034, allocations: 18.94 kB / 0.9586 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7034, allocations: 9.312 kB / 0.9586 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.7034, allocations: 6.734 kB / 0.9586 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7034, allocations: 0 / 0.9586 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7034, allocations: 1.375 kB / 0.9587 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.7037, allocations: 193.7 kB / 0.9588 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.7037, allocations: 106.3 kB / 0.9589 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.7037, allocations: 6.75 kB / 0.9589 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.7038, allocations: 14.86 kB / 0.959 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.7039, allocations: 30.95 kB / 0.959 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.7039, allocations: 8 kB / 0.959 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.269e-05/0.704, allocations: 146.3 kB / 0.9591 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.704, allocations: 0 / 0.9591 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002851/0.7043, allocations: 58.67 kB / 0.9592 GB, free: 1.555 MB / 0.7169 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.0001518/0.7045, allocations: 118.6 kB / 0.9593 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004635/0.705, allocations: 339.2 kB / 0.9596 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.705, allocations: 0 / 0.9596 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.7051, allocations: 77.98 kB / 0.9597 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.7054, allocations: 46.84 kB / 0.9597 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.7061, allocations: 477.8 kB / 0.9602 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.7062, allocations: 0.7454 MB / 0.9609 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.7063, allocations: 25.33 kB / 0.961 GB, free: 60 kB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.7063, allocations: 0 / 0.961 GB, free: 60 kB / 0.7169 GB Notification: Performance of Templates: time 0.005623/0.7119, allocations: 3.303 MB / 0.9642 GB, free: 14.34 MB / 0.7325 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/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