Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001213/0.001213, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002051/0.003264, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001196/0.001196, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002724, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09562/1.103, allocations: 53.66 MB / 243.3 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.822/1.822, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4965/2.319, allocations: 123.3 MB / 0.728 GB, free: 5.848 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0.5469 kB / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.916e-05, allocations: 4.984 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001442/0.001461, allocations: 0.7519 MB / 0.7301 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.002273, allocations: 0.861 MB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.002302, allocations: 0 / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.002327, allocations: 7.922 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.002365, allocations: 4.656 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.522e-05/0.002431, allocations: 15.97 kB / 0.731 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.524e-05/0.002516, allocations: 43.53 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.002597, allocations: 8.812 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.484e-05/0.002692, allocations: 39.2 kB / 0.7311 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.002741, allocations: 14.09 kB / 0.7311 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.002764, allocations: 4 kB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.002774, allocations: 5.062 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.002791, allocations: 6.188 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.002816, allocations: 9.75 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.707e-05/0.002903, allocations: 27.77 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.002918, allocations: 0 / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.11e-07/0.002919, allocations: 0 / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.002935, allocations: 0.6562 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003799/0.003315, allocations: 257.2 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.003347, allocations: 8.031 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.006382, allocations: 6.531 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/0.006475, allocations: 117.7 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.006487, allocations: 4.375 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.006496, allocations: 1.031 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.006633, allocations: 67.69 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006641, allocations: 1.062 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.00665, allocations: 4.375 kB / 0.7316 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006655, allocations: 384 / 0.7316 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.006685, allocations: 12.48 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.00692, allocations: 149.6 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.81e-05/0.006988, allocations: 34.56 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.007007, allocations: 9.953 kB / 0.7318 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.007027, allocations: 0 / 0.7318 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.00705, allocations: 32.03 kB / 0.7318 GB, free: 1.949 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.007051, allocations: 7.938 kB / 0.7318 GB, free: 1.941 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001251/0.007176, allocations: 41.86 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.007207, allocations: 51.41 kB / 0.7319 GB, free: 1.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.00727, allocations: 119.6 kB / 0.732 GB, free: 1.703 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007282, allocations: 33.64 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.00732, allocations: 88.08 kB / 0.7321 GB, free: 1.574 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.007339, allocations: 8.922 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.007371, allocations: 17.7 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.007456, allocations: 311.6 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.00747, allocations: 7.984 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.007482, allocations: 5.812 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.00751, allocations: 12.86 kB / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007512, allocations: 0 / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.775e-05/0.00757, allocations: 41.69 kB / 0.7325 GB, free: 1.156 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.007583, allocations: 4 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.007587, allocations: 0.8125 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007598, allocations: 11.92 kB / 0.7326 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.007683, allocations: 14 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.007685, allocations: 0 / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.007714, allocations: 7.984 kB / 0.7326 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.007721, allocations: 0 / 0.7326 GB, free: 1.121 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 5.747e-05/0.007778, allocations: 114.5 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.007797, allocations: 0 / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.007875, allocations: 50.3 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007878, allocations: 3.938 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007879, allocations: 2.188 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.007882, allocations: 0 / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.007985, allocations: 73.88 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.007986, allocations: 0 / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.008025, allocations: 11.94 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-06/0.008034, allocations: 11.94 kB / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-06/0.008036, allocations: 1.594 kB / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.00804, allocations: 0 / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008041, allocations: 0 / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.008043, allocations: 3.938 kB / 0.7328 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.846e-05/0.008121, allocations: 140.7 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.008132, allocations: 4 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.008189, allocations: 7.984 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.00822, allocations: 1.031 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.008225, allocations: 3.938 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.831e-05/0.008244, allocations: 24.83 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.008244, allocations: 1 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001647/0.008409, allocations: 4 kB / 0.733 GB, free: 0.6211 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 7.121e-05/0.00848, allocations: 77.11 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.379e-05/0.008544, allocations: 23.47 kB / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.008549, allocations: 0 / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.008568, allocations: 9.188 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.00874, allocations: 16 kB / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.009105, allocations: 127.3 kB / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.009134, allocations: 59.34 kB / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.009162, allocations: 96 / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.00921, allocations: 55.38 kB / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/0.009211, allocations: 0 / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of Templates: time 0.001966/0.01118, allocations: 0.6913 MB / 0.734 GB, free: 15.55 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.863277156837285]