Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.002/0.002, 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.002168/0.002168, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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.57/1.57, 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.069/3.069, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.511e-06/5.511e-06, allocations: 3.984 kB / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.403e-05/3.954e-05, allocations: 7.156 kB / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002608/0.002648, allocations: 0.657 MB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.002814, allocations: 17.38 kB / 0.8115 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.002856, allocations: 1.406 kB / 0.8115 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.002974, allocations: 11.92 kB / 0.8115 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.003016, allocations: 4.156 kB / 0.8116 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.422e-05/0.00309, allocations: 0 / 0.8116 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003194, allocations: 29.08 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.003334, allocations: 19.97 kB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.003391, allocations: 19.98 kB / 0.8116 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.003432, allocations: 12.89 kB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.003456, allocations: 7.938 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.003472, allocations: 4.656 kB / 0.8116 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.003507, allocations: 7.984 kB / 0.8116 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.003545, allocations: 13.19 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.003679, allocations: 47.8 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.003685, allocations: 4 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003685, allocations: 1.594 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.00369, allocations: 0 / 0.8117 GB, free: 1.184 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.000547/0.004237, allocations: 380.2 kB / 0.8121 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.00428, allocations: 8.031 kB / 0.8121 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.00434, allocations: 8.891 kB / 0.8121 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.004567, allocations: 129.5 kB / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.004581, allocations: 4.375 kB / 0.8122 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.004596, allocations: 5.062 kB / 0.8122 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.004777, allocations: 62.23 kB / 0.8123 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.004787, allocations: 5.094 kB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.004798, allocations: 384 / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004803, allocations: 384 / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.004896, allocations: 36.61 kB / 0.8123 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.005908, allocations: 0.541 MB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.00611, allocations: 266.3 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.808e-05/0.006208, allocations: 126.9 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.755e-05/0.006296, allocations: 120.4 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.006415, allocations: 156.6 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.006416, allocations: 0 / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.944e-05/0.006515, allocations: 35.61 kB / 0.8135 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.006644, allocations: 170.6 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.006877, allocations: 189.9 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.006898, allocations: 25.7 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.007027, allocations: 142.8 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.00703, allocations: 1 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.007087, allocations: 27.36 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003311/0.007418, allocations: 496.1 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.007448, allocations: 13.64 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.007466, allocations: 4 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.007525, allocations: 15.67 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007527, allocations: 1.531 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001755/0.007703, allocations: 53.58 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.007723, allocations: 8 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.007729, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.007743, allocations: 1.625 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.007823, allocations: 4 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.007828, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.007859, allocations: 7.984 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.007869, allocations: 0.9375 kB / 0.8146 GB, free: 13.99 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.0001901/0.008059, allocations: 283.7 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.00821, allocations: 154.5 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.008345, allocations: 156.5 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001543/0.0085, allocations: 268 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000168/0.008668, allocations: 276.1 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001585/0.008826, allocations: 264.7 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.009212, allocations: 0.5115 MB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-05/0.009304, allocations: 153.6 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.009392, allocations: 148.9 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.009535, allocations: 268.7 kB / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/0.00973, allocations: 269.1 kB / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001943/0.009924, allocations: 272 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002025/0.01013, allocations: 272.1 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.01051, allocations: 456.4 kB / 0.8182 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.01063, allocations: 144.9 kB / 0.8184 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.01085, allocations: 273.4 kB / 0.8186 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.01104, allocations: 148.9 kB / 0.8188 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.01124, allocations: 268 kB / 0.819 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.01135, allocations: 154.1 kB / 0.8192 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001453/0.0115, allocations: 143.5 kB / 0.8193 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/0.0115, allocations: 0 / 0.8193 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003818/0.01188, allocations: 8.469 kB / 0.8193 GB, free: 9.004 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.0002598/0.01214, allocations: 219.3 kB / 0.8195 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.01224, allocations: 16.5 kB / 0.8195 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01224, allocations: 0 / 0.8195 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/0.01225, allocations: 4.875 kB / 0.8195 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.01352, allocations: 0.7124 MB / 0.8202 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.01403, allocations: 260.9 kB / 0.8205 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.01415, allocations: 75.19 kB / 0.8206 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.01417, allocations: 3.984 kB / 0.8206 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.01421, allocations: 13.22 kB / 0.8206 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01421, allocations: 1.938 kB / 0.8206 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of Templates: time 0.0039/0.01811, allocations: 310.3 kB / 0.8209 GB, free: 7.359 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.174001535982825]