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.002113/0.002113, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002683/0.002683, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.489/1.489, allocations: 177.1 MB / 203.9 MB, free: 5.578 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 2.895/2.895, 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.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 2.004e-06/2.004e-06, allocations: 0 / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.387e-05, allocations: 6.75 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.002083/0.002117, allocations: 0.663 MB / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001504/0.002268, allocations: 11.92 kB / 0.8115 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.002309, allocations: 0.875 kB / 0.8115 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.002414, allocations: 7.984 kB / 0.8115 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.002452, allocations: 4.906 kB / 0.8115 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.864e-05/0.00252, allocations: 4 kB / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.002606, allocations: 25.61 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.002734, allocations: 19.92 kB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.002789, allocations: 27.91 kB / 0.8116 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.468e-05/0.002824, allocations: 11.98 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.002841, allocations: 0 / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.002854, allocations: 5.531 kB / 0.8116 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.00289, allocations: 11.94 kB / 0.8117 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.002932, allocations: 11.98 kB / 0.8117 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003041, allocations: 43.88 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003043, allocations: 1.75 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003044, allocations: 0 / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003048, allocations: 0 / 0.8117 GB, free: 1.188 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.0003889/0.003437, allocations: 274.2 kB / 0.812 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.003473, allocations: 11.97 kB / 0.812 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.003522, allocations: 10.02 kB / 0.812 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.003727, allocations: 129.7 kB / 0.8121 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.003742, allocations: 8.359 kB / 0.8121 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.003757, allocations: 9.438 kB / 0.8121 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.003927, allocations: 70.23 kB / 0.8122 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.003936, allocations: 5.062 kB / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.003947, allocations: 384 / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.003952, allocations: 384 / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.004042, allocations: 54.12 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.004574, allocations: 414.9 kB / 0.8126 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.004711, allocations: 173.1 kB / 0.8128 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.00476, allocations: 80.14 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.004801, allocations: 75.28 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.252e-05/0.004874, allocations: 109.8 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.004875, allocations: 0.5312 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.836e-05/0.004963, allocations: 30.42 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.005051, allocations: 126.8 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.005205, allocations: 134.2 kB / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.005224, allocations: 31.3 kB / 0.8134 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.005307, allocations: 96.02 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.005309, allocations: 4 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.005342, allocations: 9.719 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.005528, allocations: 323.4 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.00555, allocations: 7.984 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.005563, allocations: 4.844 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.005606, allocations: 17.38 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005607, allocations: 0.625 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001397/0.005747, allocations: 53.64 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.005761, allocations: 7.469 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.005765, allocations: 1.688 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.005782, allocations: 3.938 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.005838, allocations: 7.984 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.005842, allocations: 0 / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.005865, allocations: 4.812 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.005878, allocations: 3.984 kB / 0.8139 GB, free: 14.78 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.0001439/0.006022, allocations: 202 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.006101, allocations: 101 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.006172, allocations: 113.6 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-05/0.006269, allocations: 176.3 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001017/0.006371, allocations: 184.2 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/0.006482, allocations: 185.2 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.006762, allocations: 364.8 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.395e-05/0.006826, allocations: 113 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.006883, allocations: 103.3 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-05/0.00698, allocations: 180.2 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.007085, allocations: 188.4 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.471e-05/0.007179, allocations: 176.3 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001037/0.007283, allocations: 184.2 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.0075, allocations: 307.8 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.007572, allocations: 120.2 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.007691, allocations: 184.3 kB / 0.8166 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.007794, allocations: 104.9 kB / 0.8167 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.0079, allocations: 180.2 kB / 0.8169 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.007957, allocations: 109 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.594e-05/0.008043, allocations: 103.2 kB / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008043, allocations: 0 / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002298/0.008273, allocations: 4 kB / 0.8171 GB, free: 11.29 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.0001797/0.008453, allocations: 171.6 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.794e-05/0.008521, allocations: 7.984 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008522, allocations: 0.5 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.008527, allocations: 4.562 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.00906, allocations: 462.6 kB / 0.8177 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.009432, allocations: 212.8 kB / 0.8179 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/0.009525, allocations: 87.12 kB / 0.818 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.009542, allocations: 1.094 kB / 0.818 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.009574, allocations: 8.5 kB / 0.818 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.009575, allocations: 4 kB / 0.818 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.002738/0.01231, allocations: 323.1 kB / 0.8184 GB, free: 10 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] 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: 7.8608364060055465]