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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007941/0.007941, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.00161, allocations: 195.6 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001598, allocations: 67.89 kB / 1.054 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.093, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002556/1.096, allocations: 0.9576 MB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002093/1.098, allocations: 1.443 MB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/1.098, allocations: 4 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.035e-05/1.098, allocations: 11.81 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002073/1.099, allocations: 59.56 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/1.1, allocations: 444.8 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007112/1.101, allocations: 0.5147 MB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/1.101, allocations: 57.53 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/1.101, allocations: 183.6 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/1.101, allocations: 159.5 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-05/1.101, allocations: 48 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/1.102, allocations: 63.98 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/1.102, allocations: 43.78 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/1.102, allocations: 163.5 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005657/1.102, allocations: 0.4906 MB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.102, allocations: 0 / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.324e-06/1.103, allocations: 0 / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.596e-05/1.103, allocations: 0 / 1.212 GB, free: 8.961 MB / 0.9356 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.001039/1.104, allocations: 0.6319 MB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.104, allocations: 12.03 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/1.104, allocations: 28.75 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/1.104, allocations: 219 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/1.104, allocations: 20.31 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/1.104, allocations: 28.38 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/1.104, allocations: 124.2 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.104, allocations: 192 / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/1.104, allocations: 3.938 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.104, allocations: 4 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/1.105, allocations: 55.91 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/1.106, allocations: 0.8756 MB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/1.106, allocations: 122.4 kB / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/1.106, allocations: 59.36 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/1.106, allocations: 0 / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/1.106, allocations: 174.6 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/1.106, allocations: 4 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004714/1.107, allocations: 218 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/1.107, allocations: 140.5 kB / 1.215 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/1.107, allocations: 236.9 kB / 1.215 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/1.107, allocations: 41.7 kB / 1.215 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.107, allocations: 132.4 kB / 1.215 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/1.107, allocations: 31.56 kB / 1.215 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/1.108, allocations: 89.66 kB / 1.215 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.108, allocations: 334.8 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/1.108, allocations: 148.2 kB / 1.216 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/1.108, allocations: 222.7 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/1.109, allocations: 372.9 kB / 1.216 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.109, allocations: 0 / 1.216 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008896/1.11, allocations: 0.5588 MB / 1.217 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/1.11, allocations: 134.8 kB / 1.217 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.11, allocations: 0 / 1.217 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.11, allocations: 7.984 kB / 1.217 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/1.11, allocations: 19.92 kB / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.11, allocations: 0 / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/1.11, allocations: 119.8 kB / 1.217 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/1.111, allocations: 27.97 kB / 1.217 GB, free: 3.34 MB / 0.9356 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.000158/1.111, allocations: 145.8 kB / 1.217 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/1.111, allocations: 23.72 kB / 1.217 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/1.111, allocations: 25.23 kB / 1.217 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.111, allocations: 4 kB / 1.217 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.111, allocations: 0 / 1.217 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.111, allocations: 7.938 kB / 1.217 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/1.111, allocations: 253.5 kB / 1.218 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.111, allocations: 4 kB / 1.218 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/1.111, allocations: 11.98 kB / 1.218 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.111, allocations: 3.938 kB / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/1.111, allocations: 8 kB / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.111, allocations: 4 kB / 1.218 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.111, allocations: 4 kB / 1.218 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/1.112, allocations: 219.2 kB / 1.218 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/1.112, allocations: 96.91 kB / 1.218 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/1.112, allocations: 4 kB / 1.218 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/1.112, allocations: 4 kB / 1.218 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/1.112, allocations: 23.86 kB / 1.218 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.112, allocations: 15.92 kB / 1.218 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001427/1.112, allocations: 164.5 kB / 1.218 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.112, allocations: 0 / 1.218 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003206/1.112, allocations: 71.92 kB / 1.218 GB, free: 2.156 MB / 0.9356 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.0001897/1.112, allocations: 111.2 kB / 1.218 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007338/1.113, allocations: 0.5388 MB / 1.219 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.113, allocations: 0 / 1.219 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/1.113, allocations: 59.92 kB / 1.219 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/1.114, allocations: 67.34 kB / 1.219 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/1.114, allocations: 338.8 kB / 1.219 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/1.115, allocations: 0.732 MB / 1.22 GB, free: 216 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.227e-05/1.115, allocations: 29.45 kB / 1.22 GB, free: 188 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/1.115, allocations: 15.44 kB / 1.22 GB, free: 172 kB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.115, allocations: 7.875 kB / 1.22 GB, free: 164 kB / 0.9356 GB Notification: Performance of Templates: time 0.00868/1.124, allocations: 4.576 MB / 1.225 GB, free: 11.65 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) 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) Reference file matches