Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009743/0.0009743, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009407/0.0009407, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9153/0.9153, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.409/2.409, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_latest_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.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.25e-05, allocations: 10.19 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002201/0.002233, allocations: 0.6626 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001774/0.002411, allocations: 11.92 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.002457, allocations: 4 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.002572, allocations: 11.92 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.002614, allocations: 3.938 kB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.678e-05/0.002681, allocations: 0 / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.002774, allocations: 27.92 kB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.002893, allocations: 19.98 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.002942, allocations: 19.97 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.002981, allocations: 15.92 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.003005, allocations: 4 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.003021, allocations: 4 kB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.003054, allocations: 8 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.003079, allocations: 11.94 kB / 0.8394 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003182, allocations: 39.83 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.003185, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003186, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003189, allocations: 0 / 0.8395 GB, free: 13.29 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.000287/0.003476, allocations: 244.9 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.003512, allocations: 8.625 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.003547, allocations: 8.922 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.003688, allocations: 125.6 kB / 0.8398 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.003701, allocations: 8.375 kB / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.003716, allocations: 8.359 kB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.003825, allocations: 53.06 kB / 0.8399 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.003834, allocations: 4.125 kB / 0.8399 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.003843, allocations: 8.375 kB / 0.8399 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.003849, allocations: 384 / 0.8399 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.00388, allocations: 11.94 kB / 0.8399 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.004243, allocations: 344.3 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.004322, allocations: 173.1 kB / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.00435, allocations: 88.06 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.004374, allocations: 75.28 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.004416, allocations: 109.8 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.004417, allocations: 4 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.992e-05/0.004477, allocations: 29.7 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.004539, allocations: 126.7 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.004638, allocations: 122.7 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.00465, allocations: 25.7 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.004705, allocations: 100 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.004707, allocations: 0 / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.004739, allocations: 13.72 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.004832, allocations: 314.8 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.004843, allocations: 0 / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.004852, allocations: 4 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.004891, allocations: 12.84 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.004895, allocations: 3.938 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.8e-05/0.004973, allocations: 29.7 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.004989, allocations: 8 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004994, allocations: 0 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005007, allocations: 0 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.005057, allocations: 0 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.005062, allocations: 12.03 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.00508, allocations: 3.938 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.005091, allocations: 8.094 kB / 0.8415 GB, free: 11.08 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 9.187e-05/0.005183, allocations: 195.8 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.005241, allocations: 105 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.005288, allocations: 104.5 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.365e-05/0.005352, allocations: 184.2 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-05/0.005416, allocations: 180.3 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/0.005477, allocations: 188.2 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.005681, allocations: 325.4 kB / 0.8427 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/0.005721, allocations: 101 kB / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.005761, allocations: 104.9 kB / 0.8429 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.005905, allocations: 188.2 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.00597, allocations: 188.2 kB / 0.8433 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-05/0.006021, allocations: 180.3 kB / 0.8434 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.713e-05/0.006068, allocations: 180.2 kB / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.006197, allocations: 299.8 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.006244, allocations: 116.8 kB / 0.844 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.006302, allocations: 176.3 kB / 0.8442 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.006376, allocations: 109.2 kB / 0.8443 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.006428, allocations: 176.3 kB / 0.8444 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.006459, allocations: 109 kB / 0.8445 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.006495, allocations: 12.86 kB / 0.8446 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006495, allocations: 4 kB / 0.8446 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001322/0.006627, allocations: 11.95 kB / 0.8446 GB, free: 7.738 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 0.0001645/0.006792, allocations: 151.6 kB / 0.8447 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.889e-05/0.006861, allocations: 16.84 kB / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.006867, allocations: 0 / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.006868, allocations: 0 / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.007145, allocations: 465.6 kB / 0.8452 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.007413, allocations: 211.7 kB / 0.8454 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.00745, allocations: 63.41 kB / 0.8454 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.007471, allocations: 0 / 0.8454 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.00751, allocations: 55.36 kB / 0.8455 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.007511, allocations: 3.938 kB / 0.8455 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.001825/0.009335, allocations: 339.4 kB / 0.8458 GB, free: 6.406 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.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.1971747716888785]