Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.001486/0.001486, 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.001798/0.001798, 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 0.9888/0.9888, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.559/2.559, allocations: 438.8 MB / 0.6827 GB, free: 13.52 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.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.8387 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.68e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001658/0.001685, allocations: 0.7679 MB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.002914, allocations: 1.182 MB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.002958, allocations: 4 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.002984, allocations: 3.938 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.003068, allocations: 15.92 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.003453, allocations: 135.5 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.003613, allocations: 123.8 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.34e-05/0.003686, allocations: 4 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.003791, allocations: 75.88 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.003872, allocations: 23.95 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.003893, allocations: 12 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.003965, allocations: 35.88 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.003985, allocations: 15.97 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.004022, allocations: 31.92 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.004157, allocations: 87.83 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00416, allocations: 0 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.01e-07/0.00416, allocations: 0 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.004164, allocations: 0 / 0.8411 GB, free: 11.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003554/0.004519, allocations: 302.4 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.00455, allocations: 8.625 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.004584, allocations: 8.938 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.004668, allocations: 113.7 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.004685, allocations: 16.36 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.004697, allocations: 8.312 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.731e-05/0.004764, allocations: 46.95 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.004771, allocations: 192 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.004777, allocations: 4.375 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.004783, allocations: 384 / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.004801, allocations: 7.938 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.005026, allocations: 176.2 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.633e-05/0.005062, allocations: 22.52 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.005075, allocations: 8.922 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-06/0.00508, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.85e-05/0.005158, allocations: 63.38 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.005159, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001133/0.005273, allocations: 61.55 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.005302, allocations: 51.41 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.005405, allocations: 130.6 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.005422, allocations: 25.7 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.005463, allocations: 92.12 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.005476, allocations: 11.91 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.005521, allocations: 29.69 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.005598, allocations: 326.8 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.005646, allocations: 45.69 kB / 0.8426 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.005693, allocations: 68.27 kB / 0.8427 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.005757, allocations: 76.19 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005759, allocations: 0 / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001257/0.005884, allocations: 161 kB / 0.8429 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.005913, allocations: 37.7 kB / 0.8429 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005917, allocations: 0 / 0.8429 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.005929, allocations: 8 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.818e-05/0.005967, allocations: 4 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005972, allocations: 8.047 kB / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-05/0.006066, allocations: 15.98 kB / 0.843 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.006078, allocations: 4 kB / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.911e-05/0.006147, allocations: 125.8 kB / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.006155, allocations: 4.219 kB / 0.8431 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.006174, allocations: 11.98 kB / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006177, allocations: 3.938 kB / 0.8431 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.006178, allocations: 4 kB / 0.8431 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006181, allocations: 0 / 0.8431 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.614e-05/0.006247, allocations: 73.89 kB / 0.8432 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006249, allocations: 0 / 0.8432 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.006259, allocations: 4 kB / 0.8432 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006261, allocations: 0 / 0.8432 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.006264, allocations: 0 / 0.8432 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.006267, allocations: 3.984 kB / 0.8432 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.006268, allocations: 0 / 0.8432 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.141e-05/0.006339, allocations: 76.98 kB / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.00635, allocations: 7.953 kB / 0.8433 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.006358, allocations: 4 kB / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.006371, allocations: 3.984 kB / 0.8433 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.006393, allocations: 7.938 kB / 0.8433 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.006397, allocations: 4 kB / 0.8433 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.924e-05/0.006417, allocations: 16.84 kB / 0.8433 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006417, allocations: 0 / 0.8433 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001254/0.006542, allocations: 19.94 kB / 0.8433 GB, free: 8.996 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001111/0.006653, allocations: 84.41 kB / 0.8434 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.006786, allocations: 141.9 kB / 0.8436 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.006789, allocations: 3.938 kB / 0.8436 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.006804, allocations: 12.86 kB / 0.8436 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.00692, allocations: 15.98 kB / 0.8436 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.007131, allocations: 136.5 kB / 0.8437 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.737e-05/0.007159, allocations: 55.36 kB / 0.8438 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.00718, allocations: 11.73 kB / 0.8438 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.007261, allocations: 71.48 kB / 0.8439 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of SimCode: time 3.6e-07/0.007261, allocations: 0 / 0.8439 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of Templates: time 0.003105/0.01037, allocations: 1.631 MB / 0.8454 GB, free: 6.801 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.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.42771240696311]