Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 92.2 kB / 20.19 MB, free: 4.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 173 kB / 23.49 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9832/0.9832, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.237/2.237, allocations: 429.5 MB / 0.6736 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.191e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001729/0.001751, allocations: 1.151 MB / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003238, allocations: 1.425 MB / 0.8807 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.003338, allocations: 4 kB / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.003386, allocations: 23.67 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.003515, allocations: 43.59 kB / 0.8808 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.004071, allocations: 289.4 kB / 0.881 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.004402, allocations: 411.7 kB / 0.8814 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.004585, allocations: 93.89 kB / 0.8815 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.00479, allocations: 235.5 kB / 0.8817 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.004943, allocations: 119.6 kB / 0.8818 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.004991, allocations: 45.12 kB / 0.8819 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.005069, allocations: 52 kB / 0.8819 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.005123, allocations: 71.73 kB / 0.882 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.748e-05/0.00522, allocations: 116.6 kB / 0.8821 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.005523, allocations: 299.1 kB / 0.8824 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005525, allocations: 0 / 0.8824 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.005526, allocations: 1.656 kB / 0.8824 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.005531, allocations: 0 / 0.8824 GB, free: 2.293 MB / 0.8386 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.0006305/0.006162, allocations: 0.6471 MB / 0.883 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.006196, allocations: 8.531 kB / 0.883 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.006278, allocations: 50.59 kB / 0.8831 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.006693, allocations: 256.3 kB / 0.8833 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.006721, allocations: 20.38 kB / 0.8834 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.006755, allocations: 25.72 kB / 0.8834 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.006948, allocations: 154.7 kB / 0.8835 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006956, allocations: 192 / 0.8835 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.006974, allocations: 8.375 kB / 0.8835 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.006985, allocations: 9.031 kB / 0.8835 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.007091, allocations: 68.61 kB / 0.8836 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.007756, allocations: 0.5906 MB / 0.8842 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.008061, allocations: 137.8 kB / 0.8843 GB, free: 212 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.651e-05/0.008127, allocations: 47.61 kB / 0.8844 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.00814, allocations: 7.984 kB / 0.8844 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.008284, allocations: 116.9 kB / 0.8845 GB, free: 20 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.008285, allocations: 0 / 0.8845 GB, free: 20 kB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003243/0.00861, allocations: 186 kB / 0.8847 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.008647, allocations: 59.41 kB / 0.8847 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.008803, allocations: 261.5 kB / 0.885 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.008834, allocations: 37.7 kB / 0.885 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.008921, allocations: 191.6 kB / 0.8852 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.008954, allocations: 48.36 kB / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.009046, allocations: 83.33 kB / 0.8853 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.00916, allocations: 0.5006 MB / 0.8858 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.009294, allocations: 132.4 kB / 0.8859 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.009481, allocations: 307.7 kB / 0.8862 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.00965, allocations: 202.6 kB / 0.8864 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009653, allocations: 0 / 0.8864 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003704/0.01002, allocations: 397.2 kB / 0.8868 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.01007, allocations: 67.39 kB / 0.8869 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01007, allocations: 7.938 kB / 0.8869 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01008, allocations: 0 / 0.8869 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.01014, allocations: 20.11 kB / 0.8869 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.01015, allocations: 11.94 kB / 0.8869 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.01031, allocations: 59.84 kB / 0.887 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.01033, allocations: 11.98 kB / 0.887 GB, free: 13.27 MB / 0.8542 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.0001027/0.01044, allocations: 186.5 kB / 0.8871 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.01046, allocations: 27.86 kB / 0.8872 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.0105, allocations: 33.77 kB / 0.8872 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.0105, allocations: 4 kB / 0.8872 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.01051, allocations: 0 / 0.8872 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01051, allocations: 3.938 kB / 0.8872 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.01066, allocations: 208.4 kB / 0.8874 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01066, allocations: 3.984 kB / 0.8874 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.0107, allocations: 19.94 kB / 0.8874 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.0107, allocations: 0 / 0.8874 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01071, allocations: 4 kB / 0.8874 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01071, allocations: 3.984 kB / 0.8874 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01071, allocations: 4 kB / 0.8874 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.01089, allocations: 189.8 kB / 0.8876 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.01091, allocations: 23.84 kB / 0.8876 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.01094, allocations: 8 kB / 0.8877 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.01097, allocations: 12 kB / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.01104, allocations: 31.88 kB / 0.8877 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.01105, allocations: 7.984 kB / 0.8877 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.01113, allocations: 184.2 kB / 0.8879 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01113, allocations: 0 / 0.8879 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001901/0.01132, allocations: 63.89 kB / 0.8879 GB, free: 12.21 MB / 0.8542 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.0001201/0.01144, allocations: 116.1 kB / 0.8881 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.01176, allocations: 346.1 kB / 0.8884 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01177, allocations: 0 / 0.8884 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.01184, allocations: 61.66 kB / 0.8884 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01205, allocations: 48.16 kB / 0.8885 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.01249, allocations: 370.7 kB / 0.8888 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.365e-05/0.01253, allocations: 80.33 kB / 0.8889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.725e-05/0.01259, allocations: 25.94 kB / 0.8889 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.01263, allocations: 24.5 kB / 0.889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.01263, allocations: 0 / 0.889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.005505/0.01814, allocations: 3.76 MB / 0.8926 GB, free: 7.371 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8095974589232355]