Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009853/0.0009853, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.000904/0.000904, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.8887/0.8887, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.713/1.713, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.69e-05, allocations: 6.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001314/0.001331, allocations: 0.819 MB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002624, allocations: 1.199 MB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.002677, allocations: 0 / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.002705, allocations: 3.938 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.002785, allocations: 22.45 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.003121, allocations: 139.5 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.003257, allocations: 143.7 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.003347, allocations: 27.97 kB / 0.7899 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.003461, allocations: 77.56 kB / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.003535, allocations: 47.86 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.003557, allocations: 15.94 kB / 0.79 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.11e-05/0.003608, allocations: 20 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.00363, allocations: 24.5 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.00367, allocations: 44.59 kB / 0.7901 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003802, allocations: 115.7 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003804, allocations: 0.9688 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003804, allocations: 4 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.003807, allocations: 0 / 0.7902 GB, free: 9.516 MB / 0.7448 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.0003798/0.004187, allocations: 451.5 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.004219, allocations: 8.031 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.004253, allocations: 16.89 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.386e-05/0.004317, allocations: 125.5 kB / 0.7908 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.004326, allocations: 4.375 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.004342, allocations: 12.38 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.902e-05/0.004441, allocations: 75.67 kB / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.004447, allocations: 2.75 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.004453, allocations: 384 / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.004457, allocations: 384 / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.004488, allocations: 23.86 kB / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.004786, allocations: 332.1 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.00484, allocations: 50.88 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.004857, allocations: 16.3 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.004864, allocations: 0.7188 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.192e-05/0.004936, allocations: 69.03 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.004937, allocations: 0.5312 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001383/0.005075, allocations: 83.19 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.005099, allocations: 55.41 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.894e-05/0.005168, allocations: 182.2 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.005185, allocations: 29.7 kB / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.005233, allocations: 143.4 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.005248, allocations: 15.89 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.005296, allocations: 43.94 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.005391, allocations: 0.493 MB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.005437, allocations: 49.69 kB / 0.7924 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.005501, allocations: 119.3 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.005564, allocations: 88.69 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.005567, allocations: 5.312 kB / 0.7926 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.005738, allocations: 189 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.005761, allocations: 39.61 kB / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.005765, allocations: 0 / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.005773, allocations: 0 / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.006089, allocations: 15.92 kB / 0.7928 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.006093, allocations: 0 / 0.7928 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.006171, allocations: 29 kB / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.006185, allocations: 12 kB / 0.7929 GB, free: 6.516 MB / 0.7448 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 6.53e-05/0.00625, allocations: 168.2 kB / 0.793 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.006261, allocations: 9.422 kB / 0.793 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.006283, allocations: 16.42 kB / 0.793 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006285, allocations: 0 / 0.793 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.006286, allocations: 0 / 0.793 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006288, allocations: 1.062 kB / 0.793 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.288e-05/0.006361, allocations: 113.2 kB / 0.7932 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006363, allocations: 3.938 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.006381, allocations: 9.984 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.006384, allocations: 3.938 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.00639, allocations: 4 kB / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00639, allocations: 0 / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006391, allocations: 0 / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.333e-05/0.006474, allocations: 103 kB / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.006483, allocations: 15.88 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.006496, allocations: 4.062 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.006517, allocations: 8 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.00655, allocations: 11.97 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.006555, allocations: 4 kB / 0.7933 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.006592, allocations: 139.7 kB / 0.7934 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006593, allocations: 0.5312 kB / 0.7934 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001408/0.006733, allocations: 27.94 kB / 0.7935 GB, free: 5.84 MB / 0.7448 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 8.573e-05/0.006819, allocations: 101.2 kB / 0.7936 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.006956, allocations: 148.7 kB / 0.7937 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006958, allocations: 0.9375 kB / 0.7937 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.006989, allocations: 27.61 kB / 0.7937 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.007119, allocations: 20.77 kB / 0.7938 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.007472, allocations: 186.3 kB / 0.7939 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.741e-05/0.007499, allocations: 63.34 kB / 0.794 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.007521, allocations: 7.984 kB / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.007599, allocations: 86.19 kB / 0.7941 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.0076, allocations: 0 / 0.7941 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of Templates: time 0.003002/0.0106, allocations: 1.95 MB / 0.796 GB, free: 3.23 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.682349855080247]