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.0009813/0.0009813, 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.0009774/0.0009774, allocations: 177.4 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.9066/0.9066, allocations: 177.2 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.478/2.478, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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 1.382e-06/1.382e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.307e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001171/0.001184, allocations: 0.7247 MB / 0.8393 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.002304, allocations: 1.182 MB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.002347, allocations: 3.938 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.002377, allocations: 3.938 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.002462, allocations: 19.86 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.002815, allocations: 127.6 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.002952, allocations: 123.8 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.00302, allocations: 7.984 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.003108, allocations: 75.83 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.003181, allocations: 23.95 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003201, allocations: 16 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-05/0.003254, allocations: 27.97 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.003272, allocations: 11.94 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.003308, allocations: 31.92 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.003428, allocations: 87.83 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.00343, allocations: 4 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.81e-07/0.00343, allocations: 0 / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.003433, allocations: 0 / 0.841 GB, free: 11.63 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.000317/0.00375, allocations: 298.4 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.003779, allocations: 8.625 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.00381, allocations: 16.86 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.683e-05/0.003887, allocations: 117.7 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.003902, allocations: 8.375 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.003917, allocations: 4.375 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.039e-05/0.003977, allocations: 46.95 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.003983, allocations: 192 / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.00399, allocations: 8.375 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.003995, allocations: 384 / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.004012, allocations: 11.92 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.004218, allocations: 176.1 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.004254, allocations: 18.58 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.004267, allocations: 12.95 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.004273, allocations: 3.984 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/0.004337, allocations: 67.38 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.004338, allocations: 0 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.961e-05/0.004437, allocations: 65.55 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.004471, allocations: 51.41 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.004539, allocations: 126.6 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.004553, allocations: 25.7 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.004588, allocations: 96.11 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.0046, allocations: 11.91 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.004642, allocations: 29.69 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.004712, allocations: 318.8 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.004752, allocations: 45.69 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.004797, allocations: 72.25 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.865e-05/0.004855, allocations: 84.17 kB / 0.8427 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004857, allocations: 0 / 0.8427 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.004965, allocations: 149 kB / 0.8428 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.004991, allocations: 41.69 kB / 0.8429 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.004994, allocations: 3.938 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.005006, allocations: 3.938 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.005038, allocations: 4 kB / 0.8429 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.005042, allocations: 3.938 kB / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.005125, allocations: 20.05 kB / 0.8429 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.005136, allocations: 7.984 kB / 0.8429 GB, free: 9.492 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 5.602e-05/0.005192, allocations: 113.8 kB / 0.843 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.0052, allocations: 4 kB / 0.843 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.005218, allocations: 8 kB / 0.843 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.00522, allocations: 3.938 kB / 0.843 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.005222, allocations: 3.984 kB / 0.843 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005225, allocations: 0 / 0.843 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.954e-05/0.005285, allocations: 77.88 kB / 0.8431 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005285, allocations: 0 / 0.8431 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-06/0.005293, allocations: 8 kB / 0.8431 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.005294, allocations: 0 / 0.8431 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-06/0.005297, allocations: 0 / 0.8431 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.005298, allocations: 80 / 0.8431 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.0053, allocations: 4.047 kB / 0.8431 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.512e-05/0.005355, allocations: 80.98 kB / 0.8432 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.005364, allocations: 7.953 kB / 0.8432 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.005371, allocations: 0 / 0.8432 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.00538, allocations: 0 / 0.8432 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.0054, allocations: 3.938 kB / 0.8432 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.005404, allocations: 8 kB / 0.8432 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.676e-05/0.005421, allocations: 20.84 kB / 0.8432 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005421, allocations: 0 / 0.8432 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001128/0.005534, allocations: 19.94 kB / 0.8433 GB, free: 9.086 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 8.793e-05/0.005622, allocations: 84.39 kB / 0.8433 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.005741, allocations: 137.9 kB / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.005743, allocations: 0 / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.655e-05/0.00576, allocations: 16.84 kB / 0.8435 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.676e-05/0.005857, allocations: 20.53 kB / 0.8435 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.006052, allocations: 136.5 kB / 0.8436 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.519e-05/0.006077, allocations: 59.34 kB / 0.8437 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.006094, allocations: 7.75 kB / 0.8437 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.006159, allocations: 63.36 kB / 0.8438 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.00616, allocations: 3.938 kB / 0.8438 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of Templates: time 0.002796/0.008956, allocations: 1.633 MB / 0.8454 GB, free: 6.891 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 -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.251139030791819]