Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001479/0.001479, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001674/0.001674, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.53/1.53, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.163/3.163, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001949, allocations: 63.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002157/1.145, allocations: 0.9747 MB / 1.264 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001951/1.147, allocations: 1.433 MB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/1.147, allocations: 1.844 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.447e-05/1.147, allocations: 14.02 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/1.147, allocations: 55.8 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/1.148, allocations: 432.8 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006396/1.149, allocations: 0.5262 MB / 1.266 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/1.149, allocations: 43.2 kB / 1.266 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/1.149, allocations: 185.8 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/1.15, allocations: 159.8 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/1.15, allocations: 49.19 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/1.15, allocations: 66.89 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/1.15, allocations: 37.53 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/1.15, allocations: 163.8 kB / 1.267 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000757/1.151, allocations: 0.4974 MB / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.151, allocations: 0 / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/1.151, allocations: 0 / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.151, allocations: 0 / 1.267 GB, free: 5.328 MB / 0.9981 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.0008201/1.152, allocations: 0.6373 MB / 1.268 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.152, allocations: 9 kB / 1.268 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/1.152, allocations: 32.2 kB / 1.268 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/1.152, allocations: 224.4 kB / 1.268 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/1.152, allocations: 16.11 kB / 1.268 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/1.152, allocations: 23.95 kB / 1.268 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/1.153, allocations: 126.4 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.153, allocations: 192 / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/1.153, allocations: 14.8 kB / 1.268 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.153, allocations: 2.312 kB / 1.268 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/1.153, allocations: 52.81 kB / 1.268 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009328/1.154, allocations: 0.8655 MB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/1.154, allocations: 117 kB / 1.269 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.171e-05/1.154, allocations: 59.19 kB / 1.269 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/1.154, allocations: 1.688 kB / 1.269 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/1.154, allocations: 184.5 kB / 1.269 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.995e-06/1.154, allocations: 1 kB / 1.269 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0005133/1.155, allocations: 227.6 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/1.155, allocations: 140.7 kB / 1.27 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/1.155, allocations: 238.6 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/1.155, allocations: 37.73 kB / 1.27 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/1.155, allocations: 129.2 kB / 1.27 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/1.155, allocations: 31.05 kB / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/1.155, allocations: 97.09 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/1.156, allocations: 334.3 kB / 1.271 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/1.156, allocations: 145.3 kB / 1.271 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/1.156, allocations: 228.7 kB / 1.271 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/1.157, allocations: 368 kB / 1.271 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.157, allocations: 0.625 kB / 1.271 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009883/1.158, allocations: 0.5464 MB / 1.272 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.179e-05/1.158, allocations: 136.5 kB / 1.272 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.158, allocations: 3.438 kB / 1.272 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.158, allocations: 8.438 kB / 1.272 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/1.158, allocations: 22.73 kB / 1.272 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.158, allocations: 5.391 kB / 1.272 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/1.159, allocations: 117.4 kB / 1.272 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/1.159, allocations: 21.78 kB / 1.272 GB, free: 1.43 MB / 0.9981 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.0001696/1.159, allocations: 153.3 kB / 1.272 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/1.159, allocations: 22.53 kB / 1.272 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/1.159, allocations: 20.89 kB / 1.272 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.159, allocations: 4.578 kB / 1.272 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.159, allocations: 0 / 1.272 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.159, allocations: 10.02 kB / 1.272 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/1.159, allocations: 261.7 kB / 1.273 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.159, allocations: 0.9375 kB / 1.273 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/1.159, allocations: 14.02 kB / 1.273 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.159, allocations: 1.344 kB / 1.273 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/1.159, allocations: 5.375 kB / 1.273 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/1.159, allocations: 6.016 kB / 1.273 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.159, allocations: 0.9062 kB / 1.273 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/1.16, allocations: 234.5 kB / 1.273 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/1.16, allocations: 90.08 kB / 1.273 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/1.16, allocations: 6.938 kB / 1.273 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/1.16, allocations: 3.188 kB / 1.273 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/1.16, allocations: 23.64 kB / 1.273 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.16, allocations: 9.594 kB / 1.273 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001467/1.16, allocations: 165.7 kB / 1.273 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.16, allocations: 4 kB / 1.273 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003633/1.16, allocations: 74.86 kB / 1.273 GB, free: 0.6211 MB / 0.9981 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.0001596/1.161, allocations: 109.9 kB / 1.273 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006825/1.161, allocations: 0.5272 MB / 1.274 GB, free: 152 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.161, allocations: 0.5 kB / 1.274 GB, free: 152 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/1.161, allocations: 91.03 kB / 1.274 GB, free: 116 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/1.162, allocations: 59.84 kB / 1.274 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/1.162, allocations: 384.4 kB / 1.274 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/1.163, allocations: 0.7352 MB / 1.275 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/1.163, allocations: 18.77 kB / 1.275 GB, free: 15.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.163, allocations: 0.5625 kB / 1.275 GB, free: 15.09 MB / 1.014 GB Notification: Performance of Templates: time 0.007685/1.171, allocations: 3.493 MB / 1.278 GB, free: 14.74 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.06023847986944]