Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002003/0.002003, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.003082/0.003082, allocations: 210.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.398/3.398, allocations: 0.4892 GB / 0.7943 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 64.45 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4773, allocations: 176.1 MB / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002678/0.48, allocations: 0.7185 MB / 1.326 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.482, allocations: 1.139 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.4821, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.4821, allocations: 3.938 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.4822, allocations: 23.84 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.4829, allocations: 131.1 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.4832, allocations: 123.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4833, allocations: 7.984 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.4834, allocations: 47.91 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.4835, allocations: 31.89 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.4836, allocations: 19.94 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.4837, allocations: 31.92 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.4837, allocations: 15.92 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.4838, allocations: 35.91 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.484, allocations: 131.6 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.484, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.484, allocations: 4 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.484, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 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.0006498/0.4847, allocations: 323.8 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4847, allocations: 8.031 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.4848, allocations: 8.891 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.485, allocations: 118.5 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.485, allocations: 4.375 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.485, allocations: 8.359 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4851, allocations: 46.19 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4852, allocations: 192 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4852, allocations: 7.938 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4852, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/0.4852, allocations: 12 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.4858, allocations: 252.5 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.4859, allocations: 30.52 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.4859, allocations: 16.86 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.4859, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.4862, allocations: 75.36 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4862, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002764/0.4864, allocations: 77.58 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.4865, allocations: 55.41 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.4866, allocations: 125.8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.4867, allocations: 29.7 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.4867, allocations: 92.09 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.4868, allocations: 11.89 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.4868, allocations: 29.7 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.487, allocations: 318.8 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4871, allocations: 65.69 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.4872, allocations: 92.25 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.4874, allocations: 96.2 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4874, allocations: 4.062 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003387/0.4877, allocations: 200.9 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.4878, allocations: 37.69 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4878, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4878, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.4879, allocations: 8 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4879, allocations: 3.938 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.4881, allocations: 28.03 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.4881, allocations: 11.98 kB / 1.33 GB, free: 12.94 MB / 1.029 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 0.0001251/0.4882, allocations: 117.8 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.4882, allocations: 8.188 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.4883, allocations: 4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4883, allocations: 3.984 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4883, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4883, allocations: 7.938 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.4884, allocations: 117.3 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4884, allocations: 3.938 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.4884, allocations: 4 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4884, allocations: 4 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4884, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4884, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4884, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.4886, allocations: 89.11 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.4886, allocations: 11.83 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.4886, allocations: 8 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.4887, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.4887, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.4887, allocations: 7.984 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.728e-05/0.4888, allocations: 107.6 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4888, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002252/0.489, allocations: 23.92 kB / 1.331 GB, free: 12.36 MB / 1.029 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.0001894/0.4892, allocations: 99.23 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.4895, allocations: 153.1 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4895, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.4896, allocations: 15.94 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.4898, allocations: 28.11 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.4902, allocations: 150 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.71e-05/0.4903, allocations: 63.34 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.4903, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.4904, allocations: 11.44 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of SimCode: time 6.72e-07/0.4904, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of Templates: time 0.004931/0.4953, allocations: 1.52 MB / 1.333 GB, free: 10.3 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 9.855492195114493]