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.001708/0.001708, allocations: 108 kB / 16.45 MB, free: 6.453 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.002035/0.002035, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.568/1.568, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.341/3.341, allocations: 0.4899 GB / 0.7915 GB, free: 33.37 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.002048/0.002048, allocations: 69.81 kB / 1.149 GB, free: 25.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4146, allocations: 176.1 MB / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00321/0.4178, allocations: 0.9674 MB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.4202, allocations: 1.471 MB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.4203, allocations: 4 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.192e-05/0.4203, allocations: 11.81 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.4205, allocations: 63.5 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.4217, allocations: 454.5 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.4223, allocations: 491.1 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4225, allocations: 33.66 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.4228, allocations: 183.6 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.4231, allocations: 159.5 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.404e-05/0.4232, allocations: 51.94 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.4233, allocations: 63.98 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.4234, allocations: 35.86 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.4236, allocations: 167.4 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.4242, allocations: 0.4944 MB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4242, allocations: 4 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4242, allocations: 0 / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.4243, allocations: 0 / 1.326 GB, free: 14.13 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.001079/0.4253, allocations: 0.6417 MB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4254, allocations: 15.98 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.4255, allocations: 32.8 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4258, allocations: 231 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.4258, allocations: 12.38 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.4259, allocations: 24.38 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.4261, allocations: 120.6 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4261, allocations: 4.188 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.4261, allocations: 7.922 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4261, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.4263, allocations: 55.92 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.4274, allocations: 0.8757 MB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4276, allocations: 118.4 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.4277, allocations: 51.48 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.4277, allocations: 0 / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.4279, allocations: 170.7 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.428, allocations: 3.938 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005384/0.4285, allocations: 233.9 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4286, allocations: 136.5 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.4289, allocations: 236.9 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.4289, allocations: 37.7 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4291, allocations: 144.4 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.4291, allocations: 23.81 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.4293, allocations: 101.6 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4294, allocations: 330.8 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.4298, allocations: 148.2 kB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.4302, allocations: 228.9 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.4307, allocations: 368.9 kB / 1.33 GB, free: 9.398 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4307, allocations: 4 kB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001027/0.4317, allocations: 0.5626 MB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.4318, allocations: 134.8 kB / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.4318, allocations: 0 / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.4319, allocations: 7.984 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.432, allocations: 19.94 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.432, allocations: 4 kB / 1.331 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/0.4327, allocations: 111.8 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.4327, allocations: 27.97 kB / 1.331 GB, free: 8.477 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.0002077/0.4329, allocations: 153.7 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.433, allocations: 19.86 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.433, allocations: 21.23 kB / 1.331 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.433, allocations: 8 kB / 1.331 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.433, allocations: 0 / 1.331 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.433, allocations: 7.938 kB / 1.331 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.4334, allocations: 257.5 kB / 1.331 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.4334, allocations: 4 kB / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.4334, allocations: 11.94 kB / 1.331 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4334, allocations: 0 / 1.331 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.4334, allocations: 4 kB / 1.331 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4334, allocations: 4 kB / 1.331 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.4334, allocations: 7.984 kB / 1.331 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.4338, allocations: 223.3 kB / 1.331 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.4338, allocations: 101 kB / 1.332 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.4339, allocations: 0 / 1.332 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.4339, allocations: 8 kB / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.434, allocations: 15.92 kB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.434, allocations: 19.92 kB / 1.332 GB, free: 7.516 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00017/0.4342, allocations: 164.5 kB / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4342, allocations: 0 / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003437/0.4345, allocations: 71.92 kB / 1.332 GB, free: 7.285 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.0002264/0.4347, allocations: 115.4 kB / 1.332 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007564/0.4355, allocations: 494.3 kB / 1.332 GB, free: 6.633 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4355, allocations: 0 / 1.332 GB, free: 6.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4356, allocations: 52.3 kB / 1.332 GB, free: 6.582 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.4361, allocations: 72.58 kB / 1.333 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/0.4368, allocations: 356 kB / 1.333 GB, free: 6.129 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.4372, allocations: 0.732 MB / 1.334 GB, free: 5.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.597e-05/0.4373, allocations: 17.55 kB / 1.334 GB, free: 5.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.4373, allocations: 19.44 kB / 1.334 GB, free: 5.332 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4373, allocations: 0 / 1.334 GB, free: 5.332 MB / 1.029 GB Notification: Performance of Templates: time 0.01072/0.448, allocations: 4.596 MB / 1.338 GB, free: 0.8008 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/jenkins/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: 9.505586676765233]