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.001046/0.001046, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001158/0.001158, allocations: 173 kB / 23.02 MB, free: 1.547 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.9245/0.9245, allocations: 177.1 MB / 203.4 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.087/2.087, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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 2.275e-06/2.275e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.61e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001806/0.001832, allocations: 1.153 MB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.003396, allocations: 1.428 MB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.003523, allocations: 0.5625 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.545e-05/0.003588, allocations: 24.86 kB / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.00374, allocations: 59.47 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.004398, allocations: 288.4 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.0048, allocations: 412.4 kB / 0.8814 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.004971, allocations: 85.5 kB / 0.8815 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.005253, allocations: 255.4 kB / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.005429, allocations: 107.6 kB / 0.8819 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.005477, allocations: 36 kB / 0.8819 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.005571, allocations: 44 kB / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.005629, allocations: 63.75 kB / 0.882 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.005734, allocations: 103.7 kB / 0.8821 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.006071, allocations: 267.1 kB / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006074, allocations: 0 / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/0.006075, allocations: 0 / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.006081, allocations: 5.406 kB / 0.8824 GB, free: 2.027 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.0006937/0.006774, allocations: 0.6316 MB / 0.883 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.006812, allocations: 8.969 kB / 0.883 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/0.006906, allocations: 52.73 kB / 0.883 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.007175, allocations: 237.2 kB / 0.8833 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/0.007474, allocations: 20.38 kB / 0.8833 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.00751, allocations: 24.38 kB / 0.8833 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.007715, allocations: 147.9 kB / 0.8834 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.007723, allocations: 192 / 0.8834 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.007739, allocations: 4.375 kB / 0.8835 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.007749, allocations: 12.12 kB / 0.8835 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.007853, allocations: 73.56 kB / 0.8835 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/0.008538, allocations: 0.5927 MB / 0.8841 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.008842, allocations: 135.3 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.008904, allocations: 47.66 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.008915, allocations: 4 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.009073, allocations: 119.2 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 2.374e-06/0.009075, allocations: 1.688 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002957/0.009371, allocations: 181.4 kB / 0.8846 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.00941, allocations: 63.36 kB / 0.8846 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.009569, allocations: 257.6 kB / 0.8849 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.009601, allocations: 38.33 kB / 0.8849 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.009692, allocations: 195.5 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.00973, allocations: 49.28 kB / 0.8852 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.009826, allocations: 83.33 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.009947, allocations: 0.504 MB / 0.8857 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.01009, allocations: 127.4 kB / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.01027, allocations: 298.9 kB / 0.8861 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.01045, allocations: 208.1 kB / 0.8863 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01045, allocations: 0 / 0.8863 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003758/0.01083, allocations: 389.7 kB / 0.8867 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.01088, allocations: 71.39 kB / 0.8868 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.01088, allocations: 5.594 kB / 0.8868 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.0109, allocations: 0 / 0.8868 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.01096, allocations: 19.92 kB / 0.8868 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01097, allocations: 4 kB / 0.8868 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.01114, allocations: 71.86 kB / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.01117, allocations: 19.81 kB / 0.8869 GB, free: 13.04 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.0001127/0.01128, allocations: 182.5 kB / 0.8871 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.01131, allocations: 27.89 kB / 0.8871 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.01135, allocations: 21.81 kB / 0.8871 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.01135, allocations: 8 kB / 0.8871 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.01136, allocations: 0 / 0.8871 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.01136, allocations: 7.922 kB / 0.8871 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.01152, allocations: 204.5 kB / 0.8873 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01152, allocations: 0 / 0.8873 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.01156, allocations: 19.94 kB / 0.8873 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01157, allocations: 0 / 0.8873 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01158, allocations: 7.984 kB / 0.8873 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01158, allocations: 0 / 0.8873 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01158, allocations: 0 / 0.8873 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.01177, allocations: 197.7 kB / 0.8875 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.0118, allocations: 27.84 kB / 0.8876 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.01182, allocations: 4 kB / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.01187, allocations: 15.98 kB / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.01193, allocations: 27.94 kB / 0.8876 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.01194, allocations: 4 kB / 0.8876 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.421e-05/0.01203, allocations: 180.3 kB / 0.8878 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01203, allocations: 0 / 0.8878 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001949/0.01222, allocations: 67.78 kB / 0.8878 GB, free: 11.99 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.0001461/0.01237, allocations: 124.1 kB / 0.888 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.0127, allocations: 346.2 kB / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0127, allocations: 0 / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.01278, allocations: 69.47 kB / 0.8884 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.013, allocations: 48.16 kB / 0.8884 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.01349, allocations: 370.7 kB / 0.8888 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.776e-05/0.01354, allocations: 80.27 kB / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.586e-05/0.01361, allocations: 29.94 kB / 0.8889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.01365, allocations: 20.5 kB / 0.8889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/0.01365, allocations: 4 kB / 0.8889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.006488/0.02014, allocations: 3.976 MB / 0.8928 GB, free: 6.918 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.269999739713967]