Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.001792/0.001792, allocations: 113 kB / 17.6 MB, free: 4.684 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.002231/0.002231, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.578/1.578, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4357, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002868/0.4386, allocations: 0.9727 MB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.4408, allocations: 1.449 MB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.441, allocations: 0 / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.998e-05/0.4411, allocations: 15.8 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.4413, allocations: 71.5 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.4425, allocations: 430.7 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007484/0.4433, allocations: 0.4951 MB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.4434, allocations: 37.64 kB / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.4437, allocations: 179.6 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.4441, allocations: 163.4 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.4442, allocations: 48 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.4443, allocations: 63.98 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.4444, allocations: 43.77 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.4446, allocations: 163.5 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.4452, allocations: 0.4945 MB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4452, allocations: 0 / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4452, allocations: 4 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.4452, allocations: 4 kB / 1.221 GB, free: 10.69 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001187/0.4464, allocations: 0.6338 MB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.4465, allocations: 12.03 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.4466, allocations: 28.8 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.447, allocations: 219.2 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.447, allocations: 16.38 kB / 1.222 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.4471, allocations: 28.36 kB / 1.222 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.4473, allocations: 123 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4474, allocations: 192 / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4474, allocations: 7.938 kB / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.4474, allocations: 7.984 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.4475, allocations: 51.91 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.4488, allocations: 0.8757 MB / 1.223 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.449, allocations: 122.4 kB / 1.223 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.4491, allocations: 55.42 kB / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4491, allocations: 0 / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.4496, allocations: 170.6 kB / 1.223 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.4496, allocations: 0 / 1.223 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0005575/0.4501, allocations: 221.5 kB / 1.223 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.4502, allocations: 140.4 kB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.4506, allocations: 252.8 kB / 1.223 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.4506, allocations: 37.7 kB / 1.224 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.4508, allocations: 124.5 kB / 1.224 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.4509, allocations: 43.73 kB / 1.224 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.4511, allocations: 85.66 kB / 1.224 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4513, allocations: 338.8 kB / 1.224 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.4516, allocations: 140.2 kB / 1.224 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.452, allocations: 227.4 kB / 1.224 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/0.4525, allocations: 372.9 kB / 1.225 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4525, allocations: 0 / 1.225 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001035/0.4535, allocations: 0.5588 MB / 1.225 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.4536, allocations: 142.8 kB / 1.225 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4537, allocations: 4 kB / 1.225 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4537, allocations: 4 kB / 1.225 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4538, allocations: 11.94 kB / 1.226 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.4538, allocations: 7.984 kB / 1.226 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.4544, allocations: 115.7 kB / 1.226 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.4545, allocations: 27.98 kB / 1.226 GB, free: 5.059 MB / 0.9669 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.0002182/0.4547, allocations: 145.7 kB / 1.226 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.4548, allocations: 23.84 kB / 1.226 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.4548, allocations: 21.25 kB / 1.226 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4548, allocations: 0 / 1.226 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4548, allocations: 8.938 kB / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4548, allocations: 7.922 kB / 1.226 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.4552, allocations: 261.5 kB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4552, allocations: 3.938 kB / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.4552, allocations: 15.94 kB / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4552, allocations: 0 / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.4552, allocations: 11.98 kB / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4552, allocations: 4 kB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4552, allocations: 0 / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.4556, allocations: 217 kB / 1.226 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.4557, allocations: 100.9 kB / 1.226 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.4557, allocations: 8 kB / 1.226 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.4558, allocations: 3.984 kB / 1.226 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.4558, allocations: 23.86 kB / 1.226 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.4558, allocations: 8 kB / 1.226 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001846/0.456, allocations: 172.5 kB / 1.227 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.456, allocations: 0 / 1.227 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003563/0.4564, allocations: 64 kB / 1.227 GB, free: 3.871 MB / 0.9669 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.0002693/0.4566, allocations: 112.1 kB / 1.227 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000758/0.4574, allocations: 489.8 kB / 1.227 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4574, allocations: 4.062 kB / 1.227 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.4575, allocations: 59.91 kB / 1.227 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.4581, allocations: 60.27 kB / 1.227 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.4588, allocations: 354.4 kB / 1.228 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.4593, allocations: 0.732 MB / 1.228 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000156/0.4594, allocations: 17.55 kB / 1.228 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.4595, allocations: 23.44 kB / 1.228 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of SimCode: time 7.41e-07/0.4595, allocations: 0 / 1.228 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of Templates: time 0.01105/0.4705, allocations: 4.604 MB / 1.233 GB, free: 13.38 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.86946634016931]