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.001782/0.001782, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002394/0.002394, allocations: 214.6 kB / 22.25 MB, free: 5.242 MB / 14.72 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.789/1.789, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.287/3.287, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002924/0.002924, allocations: 71.8 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4455, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002348/0.4478, allocations: 0.6493 MB / 1.326 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.448, allocations: 11.94 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.4481, allocations: 0 / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.4482, allocations: 3.938 kB / 1.326 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.4482, allocations: 3.938 kB / 1.326 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.4483, allocations: 15.98 kB / 1.326 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.4485, allocations: 39.91 kB / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.4486, allocations: 23.97 kB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.4487, allocations: 7.938 kB / 1.326 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.4487, allocations: 19.92 kB / 1.326 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.4487, allocations: 0 / 1.326 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.4487, allocations: 4 kB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.4488, allocations: 11.94 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.4488, allocations: 11.94 kB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.4489, allocations: 55.73 kB / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4489, allocations: 0 / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.449, allocations: 4 kB / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.449, allocations: 0 / 1.326 GB, free: 0.9258 MB / 1.014 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.0004128/0.4494, allocations: 279.4 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4494, allocations: 8.031 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.4495, allocations: 4.938 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.4497, allocations: 122.4 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4497, allocations: 8.312 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.4497, allocations: 384 / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.4499, allocations: 86.2 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4499, allocations: 192 / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4499, allocations: 3.938 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4499, allocations: 4 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.45, allocations: 51.97 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.4506, allocations: 411.2 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4507, allocations: 173.1 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.4508, allocations: 88.11 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.4508, allocations: 75.28 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/0.4509, allocations: 117.8 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4509, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.512e-05/0.4509, allocations: 29.7 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.451, allocations: 126.7 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4512, allocations: 125.8 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4512, allocations: 29.7 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.4513, allocations: 104 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-06/0.4513, allocations: 112 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.4513, allocations: 13.66 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4515, allocations: 326.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.4515, allocations: 7.984 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.4515, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.4515, allocations: 16.84 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4515, allocations: 64 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001316/0.4517, allocations: 53.69 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4517, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.4517, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4517, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/0.4518, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4518, allocations: 3.984 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.4518, allocations: 11.88 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4518, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 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.0001379/0.452, allocations: 197.6 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.452, allocations: 109 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.4521, allocations: 108.5 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.879e-05/0.4522, allocations: 180.2 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-05/0.4523, allocations: 180.3 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/0.4524, allocations: 192.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.4526, allocations: 360.9 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.452e-05/0.4527, allocations: 105 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.4527, allocations: 104.9 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.072e-05/0.4528, allocations: 176.3 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/0.4529, allocations: 192.2 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.047e-05/0.453, allocations: 176.3 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.131e-05/0.4531, allocations: 180.3 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.4533, allocations: 315.7 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.4533, allocations: 108.9 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4534, allocations: 180.3 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4535, allocations: 101.3 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.4536, allocations: 180.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.4537, allocations: 109 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.53e-05/0.4537, allocations: 99.27 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4537, allocations: 3.938 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002915/0.454, allocations: 11.89 kB / 1.332 GB, free: 11 MB / 1.029 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.0001736/0.4542, allocations: 178.5 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.4543, allocations: 15.97 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4543, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-06/0.4543, allocations: 4 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.4548, allocations: 461.5 kB / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.4552, allocations: 204.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.292e-05/0.4553, allocations: 83.33 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.4553, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.4554, allocations: 11.5 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4554, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of Templates: time 0.002876/0.4582, allocations: 329.7 kB / 1.333 GB, free: 9.691 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] 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: 9.827346852049232]