Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 191.9 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.904/2.904, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 79.86 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8727, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002341/0.8751, allocations: 0.7264 MB / 1.275 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.8768, allocations: 1.141 MB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.8769, allocations: 3.938 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.8769, allocations: 3.938 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.707e-05/0.877, allocations: 15.91 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.8776, allocations: 140.6 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.8779, allocations: 123.8 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.878, allocations: 8 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.8781, allocations: 51.83 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.8782, allocations: 39.89 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.8782, allocations: 12 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.8783, allocations: 27.98 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.8783, allocations: 7.938 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.539e-05/0.8784, allocations: 39.91 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.8787, allocations: 142.2 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8787, allocations: 0 / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8787, allocations: 0 / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.8787, allocations: 0 / 1.276 GB, free: 2.051 MB / 0.9669 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.0007222/0.8794, allocations: 400.9 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8795, allocations: 12.03 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.8795, allocations: 8.938 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.8797, allocations: 180.3 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.8797, allocations: 8.375 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.8798, allocations: 4.375 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.8799, allocations: 42.25 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8799, allocations: 192 / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.8799, allocations: 3.938 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.8799, allocations: 0 / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.88, allocations: 15.94 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.8805, allocations: 332.8 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.535e-05/0.8806, allocations: 34.5 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.8806, allocations: 12.92 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.8806, allocations: 0 / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.8808, allocations: 63.33 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.8808, allocations: 4 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002528/0.881, allocations: 73.67 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.8811, allocations: 63.39 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.8812, allocations: 125.7 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.8813, allocations: 29.7 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.8813, allocations: 96.11 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.8813, allocations: 7.953 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.8814, allocations: 29.7 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.8816, allocations: 322.8 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.8817, allocations: 43.91 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.8818, allocations: 58.55 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.882, allocations: 92.2 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.882, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003079/0.8823, allocations: 167.2 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.8823, allocations: 37.7 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8823, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.8823, allocations: 3.984 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.8824, allocations: 7.938 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.8824, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.8826, allocations: 27.91 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.8827, allocations: 8 kB / 1.279 GB, free: 15.51 MB / 0.9825 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.0001135/0.8828, allocations: 126.4 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.8828, allocations: 11.94 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.8828, allocations: 3.906 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8828, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8828, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8828, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.883, allocations: 181.6 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.883, allocations: 3.938 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.883, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.883, allocations: 8 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.883, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.883, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8831, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.8832, allocations: 92.95 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.8833, allocations: 85.09 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.8833, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.8833, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.8833, allocations: 8 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.8833, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.584e-05/0.8834, allocations: 99.27 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8834, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002317/0.8836, allocations: 19.95 kB / 1.279 GB, free: 14.78 MB / 0.9825 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.0001905/0.8838, allocations: 103.2 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.8841, allocations: 123.3 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8841, allocations: 128 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.8841, allocations: 23.92 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.8844, allocations: 17.5 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.8848, allocations: 169.8 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.8852, allocations: 0.6846 MB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.8852, allocations: 4 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.8852, allocations: 15.44 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.8852, allocations: 0 / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of Templates: time 0.004776/0.89, allocations: 1.346 MB / 1.282 GB, free: 12.25 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.06564022693783]