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.000992/0.000992, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009537/0.0009537, allocations: 169 kB / 23.02 MB, free: 1.543 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.905/0.905, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.036/2.036, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.795e-06/2.795e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.684e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001703/0.001729, allocations: 0.7419 MB / 0.8789 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.003192, allocations: 1.185 MB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.003264, allocations: 0 / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.513e-05/0.003309, allocations: 4.594 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.003441, allocations: 15.86 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.004017, allocations: 133.3 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.004209, allocations: 123.8 kB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.004328, allocations: 7.984 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.004445, allocations: 67.55 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.00456, allocations: 35.89 kB / 0.8805 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.004589, allocations: 12 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.004659, allocations: 27.98 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.004686, allocations: 7.984 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.004745, allocations: 31.92 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.004928, allocations: 99.7 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.004931, allocations: 0 / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/0.004933, allocations: 0 / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.004939, allocations: 0 / 0.8806 GB, free: 3.801 MB / 0.8386 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.0006329/0.005572, allocations: 423.1 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.005622, allocations: 8.031 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.005688, allocations: 13.98 kB / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.005805, allocations: 120.5 kB / 0.8812 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.00583, allocations: 12.36 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.005847, allocations: 5.438 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.00594, allocations: 50.95 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.00595, allocations: 192 / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005962, allocations: 1.5 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.005972, allocations: 384 / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.006006, allocations: 15.86 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.006385, allocations: 304.8 kB / 0.8816 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.27e-05/0.006448, allocations: 35.05 kB / 0.8816 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.006468, allocations: 12.31 kB / 0.8816 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.006476, allocations: 3.688 kB / 0.8816 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.996e-05/0.006576, allocations: 72.98 kB / 0.8817 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.006577, allocations: 0 / 0.8817 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001736/0.006751, allocations: 65.64 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.006785, allocations: 55.39 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.006884, allocations: 181.9 kB / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.006902, allocations: 29.7 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.006967, allocations: 142.8 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.006982, allocations: 3.953 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.007051, allocations: 39.3 kB / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.007156, allocations: 0.4929 MB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.007221, allocations: 58.22 kB / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.00729, allocations: 88.73 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.007368, allocations: 82.42 kB / 0.8829 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.007371, allocations: 0 / 0.8829 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000181/0.007552, allocations: 185.7 kB / 0.883 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.007579, allocations: 41.64 kB / 0.8831 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.007586, allocations: 9.203 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.007599, allocations: 4 kB / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.007645, allocations: 0 / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.007651, allocations: 5.531 kB / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.007746, allocations: 19.92 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.00776, allocations: 4 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 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 7.146e-05/0.007831, allocations: 165.4 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.007842, allocations: 12.8 kB / 0.8833 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.007865, allocations: 12 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007866, allocations: 0 / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.00787, allocations: 4.062 kB / 0.8833 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007873, allocations: 0 / 0.8833 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.576e-05/0.007949, allocations: 124.6 kB / 0.8834 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.00795, allocations: 0 / 0.8834 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/0.00796, allocations: 4 kB / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-06/0.007961, allocations: 240 / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.007968, allocations: 3.938 kB / 0.8834 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.007969, allocations: 3.938 kB / 0.8834 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00797, allocations: 0 / 0.8834 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.008053, allocations: 100.4 kB / 0.8835 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.008065, allocations: 7.953 kB / 0.8835 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.008076, allocations: 7.938 kB / 0.8836 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.008086, allocations: 0 / 0.8836 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.008113, allocations: 4 kB / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.008121, allocations: 7.984 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.00817, allocations: 139.1 kB / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.00817, allocations: 0 / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000139/0.008309, allocations: 20 kB / 0.8837 GB, free: 328 kB / 0.8386 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.0001143/0.008423, allocations: 99.23 kB / 0.8838 GB, free: 216 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.008643, allocations: 152.8 kB / 0.884 GB, free: 40 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008644, allocations: 0 / 0.884 GB, free: 40 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.008667, allocations: 15.69 kB / 0.884 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.008827, allocations: 18.48 kB / 0.884 GB, free: 4 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.009101, allocations: 153.9 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.463e-05/0.009136, allocations: 60.03 kB / 0.8842 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.009157, allocations: 4 kB / 0.8842 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.009178, allocations: 12.56 kB / 0.8842 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.009178, allocations: 4 kB / 0.8842 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.00303/0.01221, allocations: 1.618 MB / 0.8858 GB, free: 14.15 MB / 0.8542 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.346330333035439]