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.001443/0.001443, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00153/0.00153, allocations: 173 kB / 23.49 MB, free: 1.059 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.9152/0.9152, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.019/2.019, allocations: 429.5 MB / 0.6736 GB, free: 4.012 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.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.834e-06/1.834e-06, allocations: 0 / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.187e-05, allocations: 3.375 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001976/0.001998, allocations: 0.8219 MB / 0.879 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.003644, allocations: 1.211 MB / 0.8802 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.003705, allocations: 0 / 0.8802 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.003739, allocations: 4.875 kB / 0.8802 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.092e-05/0.00383, allocations: 12.53 kB / 0.8802 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.004309, allocations: 140.7 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.004526, allocations: 148.8 kB / 0.8805 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.004647, allocations: 19.98 kB / 0.8805 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.004797, allocations: 87.8 kB / 0.8806 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.004906, allocations: 49.48 kB / 0.8806 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.004937, allocations: 12 kB / 0.8806 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.282e-05/0.00501, allocations: 27.92 kB / 0.8806 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.005041, allocations: 19.97 kB / 0.8807 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.00511, allocations: 41.33 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.005318, allocations: 111.7 kB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005321, allocations: 3.938 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/0.005323, allocations: 4 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.005326, allocations: 3.156 kB / 0.8808 GB, free: 3.953 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005573/0.005884, allocations: 458 kB / 0.8813 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.005921, allocations: 8.031 kB / 0.8813 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.005992, allocations: 16.89 kB / 0.8813 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.006097, allocations: 116.5 kB / 0.8814 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.006118, allocations: 8.375 kB / 0.8814 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.006145, allocations: 8.375 kB / 0.8814 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.006336, allocations: 90.95 kB / 0.8815 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.006345, allocations: 192 / 0.8815 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.006358, allocations: 2.031 kB / 0.8815 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.006368, allocations: 8.312 kB / 0.8815 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.006436, allocations: 23.92 kB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.006961, allocations: 348.8 kB / 0.8819 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.007064, allocations: 47.03 kB / 0.8819 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.007099, allocations: 11.78 kB / 0.8819 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.00711, allocations: 11.98 kB / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.007234, allocations: 69.03 kB / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.007235, allocations: 0 / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002252/0.007461, allocations: 89.75 kB / 0.8821 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.007494, allocations: 51.41 kB / 0.8821 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.00762, allocations: 193.8 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.007647, allocations: 25.7 kB / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.007726, allocations: 146.8 kB / 0.8825 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.007746, allocations: 11.89 kB / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.007824, allocations: 43.36 kB / 0.8825 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.007977, allocations: 0.5 MB / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.008091, allocations: 57.69 kB / 0.8831 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.008223, allocations: 126.1 kB / 0.8832 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.008339, allocations: 88.69 kB / 0.8833 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008341, allocations: 0 / 0.8833 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002963/0.008637, allocations: 193 kB / 0.8835 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.008672, allocations: 33.7 kB / 0.8835 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008677, allocations: 0 / 0.8835 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.008689, allocations: 4.094 kB / 0.8835 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.008759, allocations: 11.92 kB / 0.8835 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.008764, allocations: 4 kB / 0.8835 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.008905, allocations: 35.86 kB / 0.8836 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.008925, allocations: 8 kB / 0.8836 GB, free: 0.8672 MB / 0.8386 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 0.0001027/0.009027, allocations: 164.5 kB / 0.8837 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.009045, allocations: 11.89 kB / 0.8837 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.009075, allocations: 16.42 kB / 0.8837 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.009077, allocations: 4 kB / 0.8837 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00908, allocations: 0 / 0.8837 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009084, allocations: 0 / 0.8837 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.009205, allocations: 136.5 kB / 0.8839 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009206, allocations: 0 / 0.8839 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.009238, allocations: 4 kB / 0.8839 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.009239, allocations: 0 / 0.8839 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.00925, allocations: 4 kB / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.009251, allocations: 0 / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009252, allocations: 3.938 kB / 0.8839 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.009399, allocations: 112.3 kB / 0.884 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.009406, allocations: 4 kB / 0.884 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.009428, allocations: 4 kB / 0.884 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.577e-05/0.009474, allocations: 8.172 kB / 0.884 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.009532, allocations: 11.98 kB / 0.884 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.009541, allocations: 4 kB / 0.884 GB, free: 324 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.009602, allocations: 135.2 kB / 0.8842 GB, free: 188 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.009602, allocations: 0 / 0.8842 GB, free: 188 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002707/0.009873, allocations: 27.95 kB / 0.8842 GB, free: 160 kB / 0.8386 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.0001293/0.01, allocations: 107.2 kB / 0.8843 GB, free: 44 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.01027, allocations: 160.7 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01028, allocations: 0 / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.01034, allocations: 31.61 kB / 0.8845 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01056, allocations: 18.22 kB / 0.8845 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.01115, allocations: 182.4 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.01119, allocations: 63.47 kB / 0.8847 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.01122, allocations: 8 kB / 0.8847 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.01126, allocations: 12.5 kB / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.01126, allocations: 0 / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004438/0.0157, allocations: 1.789 MB / 0.8865 GB, free: 13.76 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.114019930129871]