Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0008367/0.0008367, allocations: 80.48 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.000924/0.000924, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9196/0.9196, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.809/1.809, allocations: 389 MB / 0.6338 GB, free: 12.68 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.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.214e-05, allocations: 2.281 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001872/0.001904, allocations: 0.6445 MB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001984/0.002102, allocations: 19.91 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.002149, allocations: 7.938 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.002255, allocations: 0 / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.002302, allocations: 3.938 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.002408, allocations: 0 / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.002546, allocations: 47.84 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.00267, allocations: 19.92 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.002713, allocations: 15.98 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.002749, allocations: 19.97 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.002776, allocations: 0 / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.002788, allocations: 8 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.002824, allocations: 11.94 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.002857, allocations: 7.938 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.002962, allocations: 43.92 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.002965, allocations: 0 / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002966, allocations: 0 / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.00297, allocations: 3.938 kB / 1.002 GB, free: 12.07 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003438/0.003314, allocations: 274.2 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003354, allocations: 9.344 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.003394, allocations: 12.89 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.003556, allocations: 125.7 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.003569, allocations: 4.375 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.003582, allocations: 4.375 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.003741, allocations: 78.17 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.003751, allocations: 192 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.003761, allocations: 384 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.003766, allocations: 384 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.003847, allocations: 55.91 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.004302, allocations: 418.8 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.236e-05/0.004384, allocations: 177.1 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.004419, allocations: 80.14 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.004444, allocations: 79.28 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.004485, allocations: 109.8 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.083e-06/0.004486, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.15e-05/0.004558, allocations: 33.66 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.004614, allocations: 126.7 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.00473, allocations: 121.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.00474, allocations: 29.7 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.004803, allocations: 96.02 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.004806, allocations: 4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.00484, allocations: 21.61 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.004941, allocations: 318.8 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.004961, allocations: 11.98 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.004974, allocations: 11.94 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.005013, allocations: 12.84 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005015, allocations: 0 / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001266/0.005141, allocations: 49.69 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.005155, allocations: 4 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.005162, allocations: 3.984 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.005174, allocations: 0 / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.005235, allocations: 8.078 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.005241, allocations: 7.938 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.005262, allocations: 4 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.005273, allocations: 0 / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001023/0.005375, allocations: 201 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.005432, allocations: 101 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.005477, allocations: 108.5 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/0.005531, allocations: 184.2 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.336e-05/0.005585, allocations: 181 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.087e-05/0.005636, allocations: 184.2 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.005823, allocations: 364.8 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.005859, allocations: 117.1 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.00589, allocations: 108.9 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-05/0.005948, allocations: 180.2 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.006004, allocations: 180.4 kB / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.091e-05/0.006055, allocations: 184.3 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.083e-05/0.006105, allocations: 180.5 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.006225, allocations: 315.7 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.006269, allocations: 104.9 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.006333, allocations: 180.3 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.006413, allocations: 101 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.006471, allocations: 188.2 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.006505, allocations: 109 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.567e-05/0.00657, allocations: 99.25 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.00657, allocations: 0 / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000251/0.006821, allocations: 4 kB / 1.007 GB, free: 6.148 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001099/0.006931, allocations: 166.5 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.956e-05/0.007011, allocations: 23.92 kB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.007014, allocations: 0 / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.007015, allocations: 0 / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.007427, allocations: 463.7 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.00773, allocations: 237.7 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.007798, allocations: 75.33 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.007825, allocations: 12.5 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.007825, allocations: 3.938 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of Templates: time 0.001853/0.009679, allocations: 0.6468 MB / 1.009 GB, free: 4.477 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.6986635802313685]