Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0009738/0.0009738, allocations: 76.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.001081/0.001081, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.9813/0.9813, 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.576/2.576, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.706e-06/2.706e-06, allocations: 0.6562 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.486e-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.Sources.Validation.Constant): time 0.001487/0.001512, allocations: 0.6389 MB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 5.078e-05/0.001563, allocations: 8 kB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.001588, allocations: 0 / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.001611, allocations: 3.938 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.75e-05/0.001639, allocations: 0 / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.051e-05/0.001669, allocations: 0 / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.733e-05/0.001717, allocations: 3.938 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.001758, allocations: 11.97 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.00179, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.147e-05/0.001811, allocations: 4 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.001822, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.001826, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.001838, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.001849, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.127e-05/0.0019, allocations: 8 kB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.001902, allocations: 0 / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.91e-07/0.001902, allocations: 0 / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.001905, allocations: 0 / 0.8393 GB, free: 13.44 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001774/0.002083, allocations: 213.1 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.002115, allocations: 8.625 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.798e-05/0.002133, allocations: 8.938 kB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.912e-05/0.002202, allocations: 105.8 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.002209, allocations: 384 / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-06/0.002214, allocations: 384 / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.885e-05/0.002263, allocations: 34.2 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.002269, allocations: 192 / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-06/0.002274, allocations: 384 / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.002279, allocations: 384 / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-06/0.002286, allocations: 11.88 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.002447, allocations: 290.9 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.002501, allocations: 177.1 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.002521, allocations: 84.14 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.002538, allocations: 75.28 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.00257, allocations: 109.8 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.00257, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.727e-05/0.002618, allocations: 25.7 kB / 0.8404 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.002659, allocations: 130.6 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.002713, allocations: 102.7 kB / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.00272, allocations: 25.7 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.002747, allocations: 80.27 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-07/0.002747, allocations: 7.938 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.002762, allocations: 13.72 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.002825, allocations: 314.8 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-06/0.002828, allocations: 0 / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-06/0.002831, allocations: 0 / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.846e-05/0.002849, allocations: 79.28 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.002868, allocations: 79.28 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.205e-05/0.0029, allocations: 25.7 kB / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.002922, allocations: 79.28 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.002938, allocations: 87.2 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/0.002976, allocations: 154.6 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.617e-05/0.002992, allocations: 79.22 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/0.003022, allocations: 158.5 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.00306, allocations: 79.31 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.003075, allocations: 83.2 kB / 0.8419 GB, free: 10.61 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 (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 prepare postOptimizeDAE: time 6.785e-05/0.003143, allocations: 260.4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.00318, allocations: 109 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.003215, allocations: 107.9 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.003252, allocations: 180.3 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-05/0.003289, allocations: 180.2 kB / 0.8427 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-05/0.003328, allocations: 192.2 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.003437, allocations: 313.4 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.003458, allocations: 108.9 kB / 0.8433 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.003478, allocations: 101 kB / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-05/0.003513, allocations: 184.2 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.003549, allocations: 188.2 kB / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.422e-05/0.003584, allocations: 180.2 kB / 0.8439 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.043e-05/0.003624, allocations: 180.6 kB / 0.8441 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.054e-05/0.003705, allocations: 303.8 kB / 0.8444 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.003731, allocations: 112.9 kB / 0.8445 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.003771, allocations: 180.3 kB / 0.8447 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.003812, allocations: 116.9 kB / 0.8448 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.00385, allocations: 176.3 kB / 0.845 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.003869, allocations: 101 kB / 0.8451 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.158e-05/0.003881, allocations: 12.8 kB / 0.8451 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003881, allocations: 3.938 kB / 0.8451 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001291/0.00401, allocations: 0 / 0.8451 GB, free: 7.207 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.434e-05/0.004094, allocations: 151.7 kB / 0.8452 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 2.781e-05/0.004122, allocations: 4 kB / 0.8452 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.004124, allocations: 4.094 kB / 0.8452 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.004125, allocations: 0 / 0.8452 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.004301, allocations: 459.7 kB / 0.8457 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001441/0.004445, allocations: 155 kB / 0.8458 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.644e-05/0.004472, allocations: 59.34 kB / 0.8459 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.423e-06/0.004473, allocations: 0 / 0.8459 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.004499, allocations: 51.31 kB / 0.8459 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of SimCode: time 4.2e-07/0.004499, allocations: 0 / 0.8459 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of Templates: time 0.001195/0.005694, allocations: 168.9 kB / 0.8461 GB, free: 6.117 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.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.348821267019957]