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.001118/0.001118, allocations: 80.75 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.001834/0.001834, allocations: 181 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.9708/0.9708, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.402/2.402, 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.974e-06/1.974e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.869e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.00118/0.001199, allocations: 0.6677 MB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.001336, allocations: 15.94 kB / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.001372, allocations: 0 / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.252e-05/0.001465, allocations: 0 / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.001501, allocations: 7.984 kB / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.67e-05/0.001558, allocations: 7.984 kB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.001627, allocations: 27.86 kB / 0.8394 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.001721, allocations: 19.98 kB / 0.8394 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.001756, allocations: 23.91 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.73e-05/0.001783, allocations: 8 kB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.001802, allocations: 4 kB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.001812, allocations: 8 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.001839, allocations: 11.92 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.001859, allocations: 12 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.966e-05/0.001939, allocations: 35.83 kB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00194, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.001941, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.001944, allocations: 0 / 0.8395 GB, free: 13.34 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.0002308/0.002175, allocations: 244.9 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.002207, allocations: 8.625 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.002236, allocations: 12.92 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.002352, allocations: 125.6 kB / 0.8398 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.00236, allocations: 384 / 0.8398 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.002372, allocations: 8.312 kB / 0.8399 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.002761, allocations: 61.05 kB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.002768, allocations: 192 / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.002776, allocations: 384 / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.002782, allocations: 4.375 kB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.002801, allocations: 11.94 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.003071, allocations: 348.3 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/0.00313, allocations: 169.1 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.00315, allocations: 84.08 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.003168, allocations: 83.28 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.003198, allocations: 109.8 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.003199, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.242e-05/0.003241, allocations: 29.7 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.003283, allocations: 130.7 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.003351, allocations: 114.7 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.003359, allocations: 29.7 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.003399, allocations: 96.03 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.003401, allocations: 3.984 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.003423, allocations: 9.719 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.003487, allocations: 315 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-06/0.003493, allocations: 11.88 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.003498, allocations: 0 / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.00352, allocations: 12.86 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.003524, allocations: 3.938 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.336e-05/0.003577, allocations: 33.69 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.003587, allocations: 4 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.00359, allocations: 0 / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.003602, allocations: 4 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.12e-05/0.003633, allocations: 0 / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.003636, allocations: 4.094 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.00365, allocations: 4 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.003657, allocations: 7.922 kB / 0.8415 GB, free: 11.13 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 6.359e-05/0.00372, allocations: 195.8 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.003752, allocations: 101 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.003785, allocations: 108.5 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-05/0.003832, allocations: 184.2 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-05/0.003871, allocations: 180.2 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/0.00391, allocations: 192.2 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.004025, allocations: 325.4 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/0.004047, allocations: 105 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.004067, allocations: 104.9 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-05/0.004105, allocations: 184.2 kB / 0.8431 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.004142, allocations: 180.2 kB / 0.8432 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.469e-05/0.004177, allocations: 180.2 kB / 0.8434 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.873e-05/0.004216, allocations: 180.3 kB / 0.8436 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.345e-05/0.004299, allocations: 307.8 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.004327, allocations: 116.8 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.004369, allocations: 176.3 kB / 0.8442 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.471e-05/0.004414, allocations: 101 kB / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.004455, allocations: 184.5 kB / 0.8444 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.004477, allocations: 105 kB / 0.8445 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.76e-05/0.004495, allocations: 20.84 kB / 0.8446 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004495, allocations: 0 / 0.8446 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001114/0.004606, allocations: 7.953 kB / 0.8446 GB, free: 7.789 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 8.776e-05/0.004694, allocations: 151.7 kB / 0.8447 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.052e-05/0.004734, allocations: 12.81 kB / 0.8447 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.004738, allocations: 7.938 kB / 0.8447 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.004739, allocations: 0 / 0.8447 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.004945, allocations: 463.7 kB / 0.8452 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.005132, allocations: 215.6 kB / 0.8454 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.005163, allocations: 63.34 kB / 0.8454 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.005177, allocations: 0 / 0.8454 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.005208, allocations: 51.38 kB / 0.8455 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.005209, allocations: 0 / 0.8455 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of Templates: time 0.001586/0.006795, allocations: 348.6 kB / 0.8458 GB, free: 6.445 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 -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.239969514776021]