Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002271/0.002271, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002083/0.002083, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.14/3.14, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.988e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.00183/0.00186, allocations: 0.6607 MB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.002034, allocations: 20.47 kB / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.002068, allocations: 0 / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.002172, allocations: 5.359 kB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.002206, allocations: 1.188 kB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.995e-05/0.002306, allocations: 4 kB / 0.8115 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.002429, allocations: 48.05 kB / 0.8116 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.002539, allocations: 20.55 kB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.002589, allocations: 15.98 kB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.185e-05/0.002621, allocations: 14.39 kB / 0.8116 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.002643, allocations: 4 kB / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.002655, allocations: 0 / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.00269, allocations: 15.92 kB / 0.8117 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.002725, allocations: 11.94 kB / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.002834, allocations: 47.86 kB / 0.8117 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002836, allocations: 0.9375 kB / 0.8117 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002836, allocations: 0 / 0.8117 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.00284, allocations: 3.938 kB / 0.8117 GB, free: 1.203 MB / 0.7605 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.0004547/0.003295, allocations: 377.1 kB / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.003333, allocations: 12.03 kB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.00338, allocations: 13.92 kB / 0.8121 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.003684, allocations: 124.5 kB / 0.8122 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.003698, allocations: 4.375 kB / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.00371, allocations: 5.75 kB / 0.8122 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.003856, allocations: 62.17 kB / 0.8123 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.003865, allocations: 4.188 kB / 0.8123 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.003876, allocations: 4.375 kB / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.00388, allocations: 2.312 kB / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.003944, allocations: 31.91 kB / 0.8123 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.004564, allocations: 0.5409 MB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.004729, allocations: 269.4 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/0.004796, allocations: 126.9 kB / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.411e-05/0.00486, allocations: 120.8 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.497e-05/0.004945, allocations: 156.5 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.004946, allocations: 0 / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.949e-05/0.005025, allocations: 29.7 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.005126, allocations: 171.5 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.005306, allocations: 189.9 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.005324, allocations: 26.23 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.005426, allocations: 150.8 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-06/0.00543, allocations: 4.516 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.005468, allocations: 16.5 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.005723, allocations: 0.4922 MB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.005743, allocations: 7.984 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/0.005755, allocations: 4.562 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.0058, allocations: 24.14 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.005801, allocations: 1.375 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001251/0.005926, allocations: 49.64 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.00594, allocations: 4 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005944, allocations: 1.469 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.005959, allocations: 4 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.006014, allocations: 3.984 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.006018, allocations: 0.8438 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.006039, allocations: 4 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.006054, allocations: 8.828 kB / 0.8147 GB, free: 14 MB / 0.7761 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.0001821/0.006236, allocations: 283.7 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.006336, allocations: 154.1 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.808e-05/0.006424, allocations: 152.4 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001403/0.006564, allocations: 272 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001359/0.0067, allocations: 269 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001357/0.006836, allocations: 272.1 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.007203, allocations: 0.5126 MB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.692e-05/0.00728, allocations: 148.8 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.007357, allocations: 148.8 kB / 0.8168 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.007493, allocations: 269.5 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.007636, allocations: 272.1 kB / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001369/0.007773, allocations: 272 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001358/0.007909, allocations: 272.1 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.00819, allocations: 449.2 kB / 0.8182 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.008279, allocations: 156.9 kB / 0.8184 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.008429, allocations: 268 kB / 0.8187 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.008549, allocations: 151.9 kB / 0.8188 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.008693, allocations: 268 kB / 0.8191 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/0.008773, allocations: 144.9 kB / 0.8192 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001046/0.008878, allocations: 147.2 kB / 0.8193 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008878, allocations: 0 / 0.8193 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002261/0.009104, allocations: 11.94 kB / 0.8193 GB, free: 9.012 MB / 0.7761 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.000343/0.009447, allocations: 210.4 kB / 0.8195 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.009534, allocations: 16.12 kB / 0.8196 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.009536, allocations: 5.219 kB / 0.8196 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.009537, allocations: 0 / 0.8196 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.01016, allocations: 0.7139 MB / 0.8203 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.01053, allocations: 254.2 kB / 0.8205 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.01061, allocations: 84.52 kB / 0.8206 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.762e-05/0.01063, allocations: 0 / 0.8206 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.01066, allocations: 8.5 kB / 0.8206 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of SimCode: time 4.6e-07/0.01066, allocations: 0 / 0.8206 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of Templates: time 0.002892/0.01355, allocations: 317.7 kB / 0.8209 GB, free: 7.371 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.352800833061337]