Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0009964/0.0009964, 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.001209/0.001209, allocations: 169 kB / 23.02 MB, free: 1.539 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 1.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.115/2.115, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.043e-05, allocations: 2.844 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001436/0.001456, allocations: 0.9792 MB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.002808, allocations: 1.494 MB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.002866, allocations: 4 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.002905, allocations: 11.81 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.003033, allocations: 64.44 kB / 0.8807 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.003701, allocations: 425.3 kB / 0.8811 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.004095, allocations: 496.1 kB / 0.8816 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.004202, allocations: 33.89 kB / 0.8816 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.004409, allocations: 263.6 kB / 0.8818 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.004572, allocations: 132.7 kB / 0.882 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.004624, allocations: 48 kB / 0.882 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.004711, allocations: 63.98 kB / 0.8821 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.004744, allocations: 36.5 kB / 0.8821 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.004859, allocations: 143.7 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.005162, allocations: 338.7 kB / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.005164, allocations: 0 / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.82e-07/0.005165, allocations: 0 / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.00517, allocations: 0 / 0.8826 GB, free: 1.832 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006174/0.005788, allocations: 0.6623 MB / 0.8832 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.005827, allocations: 12.03 kB / 0.8832 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.005933, allocations: 40.78 kB / 0.8833 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.00615, allocations: 167.8 kB / 0.8834 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.006199, allocations: 16.38 kB / 0.8834 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.006275, allocations: 25.09 kB / 0.8835 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.00644, allocations: 129.6 kB / 0.8836 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.006448, allocations: 0.7812 kB / 0.8836 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.006459, allocations: 384 / 0.8836 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.006468, allocations: 5.594 kB / 0.8836 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.006524, allocations: 35.84 kB / 0.8836 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.007157, allocations: 0.9031 MB / 0.8845 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.007265, allocations: 133.6 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.00731, allocations: 48.23 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.505e-06/0.007317, allocations: 4 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.007469, allocations: 178.5 kB / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.007471, allocations: 0.6562 kB / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002963/0.007768, allocations: 189.3 kB / 0.885 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.007819, allocations: 137.6 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.008007, allocations: 280.3 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.008044, allocations: 37.7 kB / 0.8855 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.008131, allocations: 183.3 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.008156, allocations: 31.78 kB / 0.8857 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.008264, allocations: 99.31 kB / 0.8858 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.008382, allocations: 0.5001 MB / 0.8863 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.008586, allocations: 226.9 kB / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.008832, allocations: 344.6 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.00911, allocations: 366.8 kB / 0.8872 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.009114, allocations: 3.938 kB / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005815/0.009696, allocations: 0.6206 MB / 0.8878 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/0.009781, allocations: 138.8 kB / 0.8879 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.009792, allocations: 4 kB / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.009811, allocations: 8.25 kB / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.00989, allocations: 15.94 kB / 0.8879 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.009899, allocations: 4 kB / 0.8879 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.0102, allocations: 83.81 kB / 0.888 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.01024, allocations: 27.97 kB / 0.888 GB, free: 11.64 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.000107/0.01034, allocations: 193.3 kB / 0.8882 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.01038, allocations: 32.05 kB / 0.8882 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.01041, allocations: 25.31 kB / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01041, allocations: 4 kB / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01042, allocations: 0 / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01042, allocations: 0 / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.01056, allocations: 188.5 kB / 0.8885 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01056, allocations: 4 kB / 0.8885 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.01059, allocations: 11.98 kB / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01059, allocations: 0 / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.0106, allocations: 8 kB / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01061, allocations: 3.938 kB / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01061, allocations: 4 kB / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.01081, allocations: 215.2 kB / 0.8887 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.01083, allocations: 23.84 kB / 0.8887 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.01085, allocations: 4 kB / 0.8887 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.826e-05/0.01087, allocations: 4 kB / 0.8887 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.01091, allocations: 23.91 kB / 0.8887 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01092, allocations: 4 kB / 0.8887 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.792e-05/0.01102, allocations: 193.1 kB / 0.8889 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01102, allocations: 8 kB / 0.8889 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002161/0.01124, allocations: 67.94 kB / 0.889 GB, free: 10.57 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001103/0.01135, allocations: 104.2 kB / 0.8891 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.01181, allocations: 0.5545 MB / 0.8896 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01181, allocations: 3.938 kB / 0.8896 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.01187, allocations: 56.09 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.01214, allocations: 76.83 kB / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.01253, allocations: 338.2 kB / 0.8901 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.01257, allocations: 79.98 kB / 0.8902 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.01261, allocations: 18.39 kB / 0.8902 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.01264, allocations: 32.42 kB / 0.8902 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.01265, allocations: 0 / 0.8902 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.006504/0.01915, allocations: 5.489 MB / 0.8956 GB, free: 3.797 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_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.468840796034783]