Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001039/0.001039, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001422/0.001422, allocations: 181 kB / 23.36 MB, free: 1.133 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.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.563/2.563, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_latest_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.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.698e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001296/0.001313, allocations: 0.7179 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.001461, allocations: 15.92 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.001502, allocations: 0 / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.001609, allocations: 3.938 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.001652, allocations: 3.938 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.673e-05/0.001718, allocations: 4 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.001805, allocations: 27.91 kB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.001913, allocations: 19.98 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.001954, allocations: 23.97 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.001987, allocations: 11.94 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.002007, allocations: 4 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.002017, allocations: 4 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.002049, allocations: 7.984 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.002075, allocations: 15.92 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.005e-05/0.002165, allocations: 31.8 kB / 0.8396 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002167, allocations: 4 kB / 0.8396 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.11e-07/0.002168, allocations: 0 / 0.8396 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.002173, allocations: 0 / 0.8396 GB, free: 13.22 MB / 0.8073 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.0002422/0.002415, allocations: 248.9 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.002448, allocations: 12.62 kB / 0.8398 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.002473, allocations: 4.938 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.002585, allocations: 129.7 kB / 0.8399 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.002593, allocations: 4.375 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.002601, allocations: 4.375 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.285e-05/0.002684, allocations: 57 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.002691, allocations: 192 / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.002698, allocations: 4.375 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.002703, allocations: 384 / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.002725, allocations: 19.88 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.002982, allocations: 344.3 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.467e-05/0.003037, allocations: 169.1 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.003057, allocations: 80.14 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.003076, allocations: 79.28 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.00311, allocations: 109.8 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.003111, allocations: 3.938 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.659e-05/0.003158, allocations: 29.69 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.003199, allocations: 130.7 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.003265, allocations: 114.7 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.003272, allocations: 25.7 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.003321, allocations: 100 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.003322, allocations: 0 / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.003347, allocations: 17.7 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.003417, allocations: 314.8 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-06/0.003423, allocations: 4 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-06/0.003428, allocations: 0 / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.413e-05/0.003452, allocations: 8.797 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.003455, allocations: 7.938 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.774e-05/0.003513, allocations: 33.69 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.003524, allocations: 4 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.003528, allocations: 0 / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.003536, allocations: 0 / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.823e-05/0.003574, allocations: 4.094 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.003576, allocations: 4 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.003591, allocations: 8 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.003597, allocations: 0 / 0.8416 GB, free: 11.02 MB / 0.8073 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 7.474e-05/0.003672, allocations: 199.8 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.003716, allocations: 104.9 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.003758, allocations: 112.6 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.918e-05/0.003807, allocations: 188.1 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-05/0.003852, allocations: 180.2 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-05/0.003899, allocations: 184.3 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.004041, allocations: 321.4 kB / 0.8428 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/0.004068, allocations: 109 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.004096, allocations: 104.9 kB / 0.843 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.891e-05/0.004144, allocations: 188.2 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.004194, allocations: 180.3 kB / 0.8433 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.121e-05/0.004245, allocations: 180.2 kB / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.238e-05/0.004298, allocations: 180.2 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.004406, allocations: 303.8 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.004443, allocations: 104.9 kB / 0.8441 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.004502, allocations: 192.2 kB / 0.8443 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.004553, allocations: 101.3 kB / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.004612, allocations: 192.2 kB / 0.8445 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.00464, allocations: 105 kB / 0.8446 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.004663, allocations: 16.84 kB / 0.8447 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004663, allocations: 0 / 0.8447 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001218/0.004785, allocations: 7.953 kB / 0.8447 GB, free: 7.66 MB / 0.8073 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 7.871e-05/0.004863, allocations: 151.7 kB / 0.8448 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.295e-05/0.004906, allocations: 8.797 kB / 0.8448 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.004909, allocations: 0 / 0.8448 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.00491, allocations: 0 / 0.8448 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.005132, allocations: 467.7 kB / 0.8453 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.00533, allocations: 215.7 kB / 0.8455 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.152e-05/0.005361, allocations: 59.34 kB / 0.8455 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.609e-05/0.005377, allocations: 4 kB / 0.8455 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.005411, allocations: 47.38 kB / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of SimCode: time 3.61e-07/0.005411, allocations: 4 kB / 0.8456 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.001645/0.007056, allocations: 341.8 kB / 0.8459 GB, free: 6.328 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.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: 5.322154326364398]