Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001448/0.001448, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001807/0.001807, allocations: 170 kB / 23.27 MB, free: 1.223 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 1.009/1.009, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.382/2.382, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.528e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001529/0.001554, allocations: 0.8298 MB / 0.8906 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.002706, allocations: 1.186 MB / 0.8917 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.002757, allocations: 0 / 0.8917 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.002786, allocations: 7.875 kB / 0.8917 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.523e-05/0.002872, allocations: 23.86 kB / 0.8917 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.003232, allocations: 135.5 kB / 0.8919 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.003384, allocations: 155.7 kB / 0.892 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.003482, allocations: 27.98 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.003596, allocations: 79.88 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.003679, allocations: 43.92 kB / 0.8922 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.003703, allocations: 12 kB / 0.8922 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.003759, allocations: 27.98 kB / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.003783, allocations: 23.92 kB / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.003825, allocations: 43.89 kB / 0.8923 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.003974, allocations: 119.6 kB / 0.8924 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003976, allocations: 0 / 0.8924 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003977, allocations: 0 / 0.8924 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.00398, allocations: 0 / 0.8924 GB, free: 7.078 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004214/0.004402, allocations: 454 kB / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.00444, allocations: 8.625 kB / 0.8928 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.00448, allocations: 20.89 kB / 0.8928 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.409e-05/0.004554, allocations: 116.5 kB / 0.893 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.004566, allocations: 12.36 kB / 0.893 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.004584, allocations: 16.36 kB / 0.893 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.004693, allocations: 74.86 kB / 0.8931 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-06/0.004698, allocations: 192 / 0.8931 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.004707, allocations: 8.312 kB / 0.8931 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004711, allocations: 384 / 0.8931 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.004741, allocations: 15.92 kB / 0.8931 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.005081, allocations: 332.1 kB / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/0.005139, allocations: 42.98 kB / 0.8934 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.005156, allocations: 11.69 kB / 0.8934 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.005164, allocations: 4 kB / 0.8934 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.959e-05/0.005254, allocations: 73.06 kB / 0.8935 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.005256, allocations: 0 / 0.8935 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0001554/0.005411, allocations: 69.64 kB / 0.8936 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005405/0.005952, allocations: 55.39 kB / 0.8936 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.00604, allocations: 185.8 kB / 0.8938 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.006057, allocations: 25.7 kB / 0.8938 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.006116, allocations: 150.8 kB / 0.894 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.006133, allocations: 15.89 kB / 0.894 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.006184, allocations: 51.33 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.006296, allocations: 0.4884 MB / 0.8945 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.00635, allocations: 53.67 kB / 0.8946 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.006421, allocations: 122.1 kB / 0.8947 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.006492, allocations: 84.73 kB / 0.8948 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.006495, allocations: 3.938 kB / 0.8948 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.006671, allocations: 181 kB / 0.8949 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.006701, allocations: 37.78 kB / 0.895 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.006706, allocations: 4 kB / 0.895 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.006719, allocations: 0 / 0.895 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.006771, allocations: 7.938 kB / 0.895 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006776, allocations: 7.984 kB / 0.895 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.006856, allocations: 23.92 kB / 0.895 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.006869, allocations: 11.98 kB / 0.895 GB, free: 4.074 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.187e-05/0.006941, allocations: 164.5 kB / 0.8952 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.006954, allocations: 15.95 kB / 0.8952 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.006982, allocations: 8.438 kB / 0.8952 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006985, allocations: 7.938 kB / 0.8952 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.006987, allocations: 320 / 0.8952 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00699, allocations: 0 / 0.8952 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.914e-05/0.007069, allocations: 113.2 kB / 0.8953 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.00707, allocations: 4 kB / 0.8953 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.007094, allocations: 11.94 kB / 0.8953 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007096, allocations: 3.938 kB / 0.8954 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.007101, allocations: 0 / 0.8954 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.007102, allocations: 0 / 0.8954 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.007104, allocations: 7.984 kB / 0.8954 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.00721, allocations: 100.4 kB / 0.8955 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.007219, allocations: 7.891 kB / 0.8955 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.007233, allocations: 8 kB / 0.8955 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.578e-05/0.007259, allocations: 7.984 kB / 0.8955 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.007298, allocations: 7.984 kB / 0.8955 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.007306, allocations: 7.984 kB / 0.8955 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.096e-05/0.007347, allocations: 131.6 kB / 0.8956 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.007347, allocations: 0 / 0.8956 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001439/0.007491, allocations: 27.92 kB / 0.8956 GB, free: 3.391 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001415/0.007632, allocations: 111.2 kB / 0.8958 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.007802, allocations: 148.7 kB / 0.8959 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007804, allocations: 0 / 0.8959 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-05/0.007838, allocations: 27.61 kB / 0.8959 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.007999, allocations: 8 kB / 0.8959 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.008433, allocations: 198.4 kB / 0.8961 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.008465, allocations: 59.34 kB / 0.8962 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.00849, allocations: 4 kB / 0.8962 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.008574, allocations: 94.17 kB / 0.8963 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.008575, allocations: 0 / 0.8963 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of Templates: time 0.003491/0.01207, allocations: 1.963 MB / 0.8982 GB, free: 0.75 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.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.343583238311112]