Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001397/0.001397, allocations: 110.2 kB / 19.7 MB, free: 2.262 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.001531/0.001531, allocations: 222.7 kB / 23.01 MB, free: 4.609 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.259/3.259, allocations: 0.49 GB / 0.7958 GB, free: 33.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.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.002127/0.002127, allocations: 67.55 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 176.1 MB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002206/0.3443, allocations: 0.9689 MB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3464, allocations: 1.471 MB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.3465, allocations: 0 / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.601e-05/0.3466, allocations: 19.73 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.3467, allocations: 55.58 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3479, allocations: 452.7 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.3485, allocations: 495.1 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3486, allocations: 33.94 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.3488, allocations: 179.6 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.3491, allocations: 167.4 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.3492, allocations: 52 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3493, allocations: 67.97 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.3494, allocations: 35.86 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.3496, allocations: 171.4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.3501, allocations: 0.4946 MB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3501, allocations: 0 / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3501, allocations: 0 / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3501, allocations: 0 / 1.332 GB, free: 12.7 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000874/0.351, allocations: 0.5702 MB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3511, allocations: 8.031 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/0.3512, allocations: 32.78 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.3513, allocations: 161.3 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.3514, allocations: 20.36 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.3514, allocations: 24.38 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3516, allocations: 125.5 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3516, allocations: 192 / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3517, allocations: 7.938 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3517, allocations: 0 / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3518, allocations: 59.91 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3528, allocations: 0.8396 MB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.353, allocations: 118.4 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.3531, allocations: 47.48 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3531, allocations: 4 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/0.3534, allocations: 181 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.3534, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005232/0.3539, allocations: 230 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.354, allocations: 136.5 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.3543, allocations: 236.8 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.3544, allocations: 45.64 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3545, allocations: 140.4 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.3545, allocations: 27.8 kB / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.3547, allocations: 97.64 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3549, allocations: 330.8 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.3552, allocations: 148.2 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.3555, allocations: 219.6 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.356, allocations: 372.9 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.356, allocations: 0 / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009976/0.357, allocations: 0.5586 MB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.3571, allocations: 134.8 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3571, allocations: 7.984 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3571, allocations: 4 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.3572, allocations: 8 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3572, allocations: 7.938 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.3579, allocations: 115.9 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.3579, allocations: 31.97 kB / 1.337 GB, free: 7.246 MB / 1.029 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.0001884/0.3581, allocations: 150.2 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.3582, allocations: 27.86 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.3582, allocations: 25.33 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3582, allocations: 4 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3582, allocations: 0 / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3582, allocations: 3.938 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3585, allocations: 232.6 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.3585, allocations: 4 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.3586, allocations: 4 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3586, allocations: 4 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3586, allocations: 4 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3586, allocations: 3.938 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3586, allocations: 7.922 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.3589, allocations: 223.3 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.359, allocations: 27.84 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.359, allocations: 0 / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.535e-05/0.359, allocations: 8 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.3591, allocations: 23.91 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.3591, allocations: 8 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001725/0.3593, allocations: 168.5 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3593, allocations: 0 / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003551/0.3596, allocations: 64 kB / 1.337 GB, free: 6.191 MB / 1.029 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.0001626/0.3598, allocations: 121.2 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007256/0.3605, allocations: 485.4 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3605, allocations: 0 / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3607, allocations: 84.58 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3611, allocations: 68.8 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/0.3618, allocations: 380.7 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3622, allocations: 0.7281 MB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.3622, allocations: 23.42 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3622, allocations: 0 / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of Templates: time 0.006388/0.3686, allocations: 3.504 MB / 1.343 GB, free: 0.7344 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.637292116996832]