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.001328/0.001328, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001361/0.001361, allocations: 186 kB / 20.78 MB, free: 1.547 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.643/1.643, allocations: 225.6 MB / 249.4 MB, free: 3.133 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.018/3.018, allocations: 496.2 MB / 0.7819 GB, free: 12.36 MB / 0.6231 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.001996/0.001996, allocations: 75.86 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 173.6 MB / 1.305 GB, free: 33.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002396/1.124, allocations: 0.9746 MB / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002106/1.126, allocations: 1.449 MB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/1.126, allocations: 2.5 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.803e-05/1.126, allocations: 18.98 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/1.126, allocations: 57.77 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/1.127, allocations: 441.4 kB / 1.308 GB, free: 31.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004315/1.128, allocations: 0.4895 MB / 1.309 GB, free: 31.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/1.128, allocations: 28.56 kB / 1.309 GB, free: 31.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/1.128, allocations: 180.6 kB / 1.309 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/1.128, allocations: 165 kB / 1.309 GB, free: 31.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/1.128, allocations: 48.97 kB / 1.309 GB, free: 31.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/1.128, allocations: 63.62 kB / 1.309 GB, free: 31.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/1.128, allocations: 39.3 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/1.128, allocations: 172.1 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/1.129, allocations: 0.4884 MB / 1.31 GB, free: 30.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.129, allocations: 0 / 1.31 GB, free: 30.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.129, allocations: 2.344 kB / 1.31 GB, free: 30.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.129, allocations: 0 / 1.31 GB, free: 30.79 MB / 1.061 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.000732/1.129, allocations: 0.6369 MB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.13, allocations: 11.59 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/1.13, allocations: 34.23 kB / 1.311 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/1.13, allocations: 222.1 kB / 1.311 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/1.13, allocations: 19.22 kB / 1.311 GB, free: 29.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/1.13, allocations: 21.88 kB / 1.311 GB, free: 29.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/1.13, allocations: 120.3 kB / 1.311 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.13, allocations: 4.125 kB / 1.311 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.13, allocations: 18.83 kB / 1.311 GB, free: 29.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.13, allocations: 0 / 1.311 GB, free: 29.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/1.13, allocations: 54.69 kB / 1.311 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/1.131, allocations: 0.8702 MB / 1.312 GB, free: 29.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.131, allocations: 119 kB / 1.312 GB, free: 29.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/1.131, allocations: 51.03 kB / 1.312 GB, free: 28.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/1.131, allocations: 0 / 1.312 GB, free: 28.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/1.131, allocations: 183 kB / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/1.131, allocations: 0 / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004151/1.132, allocations: 227.2 kB / 1.312 GB, free: 28.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.132, allocations: 137.6 kB / 1.313 GB, free: 28.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/1.132, allocations: 241.7 kB / 1.313 GB, free: 28.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/1.132, allocations: 38.27 kB / 1.313 GB, free: 28.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/1.132, allocations: 125.1 kB / 1.313 GB, free: 28.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/1.132, allocations: 35.83 kB / 1.313 GB, free: 28.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/1.132, allocations: 92 kB / 1.313 GB, free: 28.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/1.132, allocations: 335.3 kB / 1.313 GB, free: 27.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/1.133, allocations: 144 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/1.133, allocations: 231.6 kB / 1.314 GB, free: 27.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/1.133, allocations: 370.9 kB / 1.314 GB, free: 27.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.133, allocations: 0 / 1.314 GB, free: 27.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007503/1.134, allocations: 0.5608 MB / 1.315 GB, free: 27.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.491e-05/1.134, allocations: 138.8 kB / 1.315 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.134, allocations: 6.75 kB / 1.315 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.134, allocations: 3 kB / 1.315 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/1.134, allocations: 12.16 kB / 1.315 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.134, allocations: 9.688 kB / 1.315 GB, free: 26.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/1.135, allocations: 120.8 kB / 1.315 GB, free: 26.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.135, allocations: 25.34 kB / 1.315 GB, free: 26.88 MB / 1.061 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.0001338/1.135, allocations: 147.2 kB / 1.315 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/1.135, allocations: 21.25 kB / 1.315 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/1.135, allocations: 26.61 kB / 1.315 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.135, allocations: 3.781 kB / 1.315 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.135, allocations: 0 / 1.315 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.135, allocations: 6.094 kB / 1.315 GB, free: 26.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/1.135, allocations: 266.7 kB / 1.315 GB, free: 26.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.135, allocations: 0 / 1.315 GB, free: 26.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/1.135, allocations: 11.86 kB / 1.315 GB, free: 26.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.135, allocations: 0 / 1.315 GB, free: 26.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/1.135, allocations: 6.906 kB / 1.315 GB, free: 26.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.135, allocations: 6.203 kB / 1.315 GB, free: 26.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.135, allocations: 4 kB / 1.315 GB, free: 26.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/1.136, allocations: 223.2 kB / 1.316 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/1.136, allocations: 101.5 kB / 1.316 GB, free: 26.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/1.136, allocations: 3.5 kB / 1.316 GB, free: 26.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/1.136, allocations: 0 / 1.316 GB, free: 26.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/1.136, allocations: 24.89 kB / 1.316 GB, free: 26.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/1.136, allocations: 12.25 kB / 1.316 GB, free: 26.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001048/1.136, allocations: 164.3 kB / 1.316 GB, free: 26.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.136, allocations: 3.938 kB / 1.316 GB, free: 26.08 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003256/1.136, allocations: 72.11 kB / 1.316 GB, free: 26.07 MB / 1.061 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.0001544/1.136, allocations: 115 kB / 1.316 GB, free: 25.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005656/1.137, allocations: 486.4 kB / 1.317 GB, free: 25.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.137, allocations: 0 / 1.317 GB, free: 25.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.844e-05/1.137, allocations: 59.95 kB / 1.317 GB, free: 25.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/1.137, allocations: 59.66 kB / 1.317 GB, free: 25.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/1.138, allocations: 375.6 kB / 1.317 GB, free: 25.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/1.138, allocations: 0.729 MB / 1.318 GB, free: 24.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.714e-05/1.138, allocations: 20.86 kB / 1.318 GB, free: 24.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/1.138, allocations: 17.59 kB / 1.318 GB, free: 24.61 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.138, allocations: 0 / 1.318 GB, free: 24.61 MB / 1.061 GB Notification: Performance of Templates: time 0.00779/1.146, allocations: 4.615 MB / 1.322 GB, free: 24.25 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.050560680218041]