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.0008108/0.0008108, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007901/0.0007901, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8176/0.8176, allocations: 177.1 MB / 203.5 MB, free: 5.75 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 1.675/1.675, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.332e-06/1.332e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.978e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00123/0.001249, allocations: 0.7942 MB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.002242, allocations: 1.19 MB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.002287, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.002316, allocations: 3.938 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.002384, allocations: 15.84 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.00274, allocations: 146.1 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.002885, allocations: 151.7 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.002979, allocations: 19.98 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.0031, allocations: 83.86 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.003175, allocations: 47.88 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.003196, allocations: 15.98 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.692e-05/0.003243, allocations: 20 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.003266, allocations: 19.92 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.003318, allocations: 43.89 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.003486, allocations: 175.5 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003488, allocations: 0 / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003489, allocations: 0 / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.003492, allocations: 0 / 1.004 GB, free: 10.32 MB / 0.9636 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.0004398/0.003932, allocations: 358.2 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.003968, allocations: 8.75 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.004011, allocations: 12.89 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.092e-05/0.004082, allocations: 121.6 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.004096, allocations: 8.375 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.004113, allocations: 8.375 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.004258, allocations: 90.22 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.004267, allocations: 4.188 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004277, allocations: 4.359 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004282, allocations: 384 / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.004389, allocations: 59.89 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.004745, allocations: 304.2 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/0.00484, allocations: 58.48 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.004888, allocations: 28.94 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.004899, allocations: 3.938 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.005033, allocations: 87.34 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.005034, allocations: 3.938 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002508/0.005285, allocations: 129.6 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.005314, allocations: 55.41 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.00538, allocations: 121.8 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.005398, allocations: 33.7 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.005442, allocations: 96.09 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.005457, allocations: 15.89 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.005503, allocations: 37.7 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.005701, allocations: 322.8 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.98e-05/0.005801, allocations: 77.67 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.005916, allocations: 142.8 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.006045, allocations: 120.2 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006047, allocations: 0 / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000232/0.006279, allocations: 228.9 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.006305, allocations: 33.7 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006309, allocations: 4.094 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.00632, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.006375, allocations: 11.98 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.006379, allocations: 0 / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.006485, allocations: 47.84 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.006499, allocations: 7.984 kB / 1.006 GB, free: 7.484 MB / 0.9636 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.147e-05/0.00656, allocations: 124.5 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.006568, allocations: 8 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.006587, allocations: 8.438 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00659, allocations: 7.938 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006593, allocations: 0 / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006596, allocations: 0 / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.677e-05/0.006673, allocations: 133.2 kB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006673, allocations: 3.938 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.006697, allocations: 12.3 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006699, allocations: 0 / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.006706, allocations: 4 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006707, allocations: 4 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-07/0.006707, allocations: 0 / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.006843, allocations: 125 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.006855, allocations: 7.953 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.006867, allocations: 0 / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.006897, allocations: 11.98 kB / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.006939, allocations: 12.06 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.006945, allocations: 11.88 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.006979, allocations: 99.64 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006979, allocations: 4 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000142/0.007121, allocations: 27.94 kB / 1.007 GB, free: 6.836 MB / 0.9636 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 9.835e-05/0.00722, allocations: 95.25 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.007443, allocations: 189 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007444, allocations: 0 / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.007503, allocations: 36.09 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.007642, allocations: 19.92 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.007923, allocations: 199 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.007966, allocations: 75.33 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.007991, allocations: 12.5 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of SimCode: time 3.3e-07/0.007992, allocations: 0 / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of Templates: time 0.001908/0.0099, allocations: 1.376 MB / 1.009 GB, free: 4.777 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0381341045722365]