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.001371/0.001371, allocations: 92.7 kB / 19.44 MB, free: 324 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.00155/0.00155, allocations: 165.7 kB / 22.76 MB, free: 1.648 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.236/3.236, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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 6.552e-06/6.552e-06, allocations: 4.766 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.938e-05, allocations: 5.266 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003612/0.003651, allocations: 0.9263 MB / 0.8785 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003588/0.00724, allocations: 1.457 MB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.007409, allocations: 4 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.221e-05/0.007491, allocations: 19.73 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.007793, allocations: 63.52 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.009536, allocations: 424.6 kB / 0.8804 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.0106, allocations: 0.4969 MB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.01081, allocations: 29.94 kB / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009238/0.01173, allocations: 259.6 kB / 0.8812 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.0122, allocations: 139.6 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.01238, allocations: 50.66 kB / 0.8814 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.0126, allocations: 59.94 kB / 0.8814 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.01269, allocations: 43.83 kB / 0.8815 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.01302, allocations: 131.7 kB / 0.8816 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.01414, allocations: 0.5611 MB / 0.8821 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.01414, allocations: 0 / 0.8821 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01414, allocations: 0 / 0.8821 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.01416, allocations: 0.7188 kB / 0.8821 GB, free: 1.828 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.001584/0.01574, allocations: 0.5624 MB / 0.8827 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.01579, allocations: 9.688 kB / 0.8827 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.016, allocations: 40.83 kB / 0.8827 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.01633, allocations: 161 kB / 0.8829 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.01638, allocations: 16.38 kB / 0.8829 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.0165, allocations: 29.66 kB / 0.8829 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.01685, allocations: 121.6 kB / 0.8831 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.01686, allocations: 192 / 0.8831 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.01688, allocations: 384 / 0.8831 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.01689, allocations: 8.375 kB / 0.8831 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.01711, allocations: 59.86 kB / 0.8831 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.01872, allocations: 0.7195 MB / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.01902, allocations: 122.4 kB / 0.8839 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.01918, allocations: 55.3 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.0192, allocations: 4 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.0197, allocations: 169.9 kB / 0.8842 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.0197, allocations: 4 kB / 0.8842 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0008717/0.02057, allocations: 234.1 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.02072, allocations: 140.5 kB / 0.8845 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.02118, allocations: 241.7 kB / 0.8847 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.944e-05/0.02128, allocations: 37.7 kB / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.02149, allocations: 132.4 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.02156, allocations: 35.8 kB / 0.8849 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.02187, allocations: 85.66 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002801/0.02215, allocations: 330.8 kB / 0.8853 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007228/0.02287, allocations: 275 kB / 0.8856 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008217/0.02369, allocations: 358.6 kB / 0.8859 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008629/0.02455, allocations: 368.9 kB / 0.8863 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.02456, allocations: 0 / 0.8863 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002001/0.02656, allocations: 0.7174 MB / 0.887 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.02674, allocations: 130.8 kB / 0.8871 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.02676, allocations: 7.984 kB / 0.8871 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.02679, allocations: 4 kB / 0.8871 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.02693, allocations: 12 kB / 0.8871 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.02695, allocations: 7.938 kB / 0.8872 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.02799, allocations: 108 kB / 0.8873 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.02809, allocations: 35.91 kB / 0.8873 GB, free: 12.05 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.0003017/0.02839, allocations: 150.8 kB / 0.8874 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.02849, allocations: 39.77 kB / 0.8875 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.02856, allocations: 21.34 kB / 0.8875 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.02857, allocations: 4 kB / 0.8875 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.02858, allocations: 0 / 0.8875 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.02859, allocations: 7.984 kB / 0.8875 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.02896, allocations: 177.2 kB / 0.8877 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.02897, allocations: 4 kB / 0.8877 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.02904, allocations: 15.98 kB / 0.8877 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.02904, allocations: 0 / 0.8877 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.02906, allocations: 4 kB / 0.8877 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.02907, allocations: 0 / 0.8877 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.02907, allocations: 4 kB / 0.8877 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.02986, allocations: 235.3 kB / 0.8879 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.02994, allocations: 23.84 kB / 0.8879 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.02998, allocations: 4 kB / 0.8879 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.03008, allocations: 4 kB / 0.888 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.03015, allocations: 15.97 kB / 0.888 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.03018, allocations: 8 kB / 0.888 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002846/0.03046, allocations: 169.2 kB / 0.8881 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/0.03046, allocations: 0 / 0.8881 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006274/0.03109, allocations: 64 kB / 0.8882 GB, free: 11.05 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.0002724/0.03136, allocations: 120 kB / 0.8883 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.03277, allocations: 0.5978 MB / 0.8889 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.03277, allocations: 4 kB / 0.8889 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.03297, allocations: 55.86 kB / 0.889 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.03374, allocations: 79.97 kB / 0.889 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.03479, allocations: 348.1 kB / 0.8894 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.03498, allocations: 117.7 kB / 0.8895 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.03509, allocations: 25.61 kB / 0.8895 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.03516, allocations: 20.5 kB / 0.8895 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.03516, allocations: 0 / 0.8895 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of Templates: time 0.01673/0.05189, allocations: 5.082 MB / 0.8945 GB, free: 4.594 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.410035031032749]