Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_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_9_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.001768/0.001768, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002511/0.002511, allocations: 198 kB / 16.14 MB, free: 6.711 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.555/1.555, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8361, allocations: 140.4 MB / 0.9489 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002032/0.8382, allocations: 1.023 MB / 0.9499 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.8398, allocations: 1.497 MB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.84, allocations: 5.438 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.147e-05/0.8401, allocations: 7.875 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.8402, allocations: 40.61 kB / 0.9514 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009719/0.8412, allocations: 410.2 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.8416, allocations: 421.9 kB / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.8417, allocations: 45.34 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.842, allocations: 156.5 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.8421, allocations: 121.1 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/0.8422, allocations: 25.38 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.8424, allocations: 33.23 kB / 0.9526 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.8424, allocations: 35.66 kB / 0.9526 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.8426, allocations: 132.7 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.8429, allocations: 473.7 kB / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.843, allocations: 0 / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.843, allocations: 0 / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.843, allocations: 0 / 0.9532 GB, free: 6.008 MB / 0.7169 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.000797/0.8438, allocations: 0.6344 MB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.8438, allocations: 12.59 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.844, allocations: 40.19 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.8441, allocations: 218.5 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.8442, allocations: 22.95 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.8442, allocations: 19.56 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.8444, allocations: 126.6 kB / 0.9543 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8444, allocations: 0 / 0.9543 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.8445, allocations: 1.406 kB / 0.9543 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8445, allocations: 6.969 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.8446, allocations: 58.25 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.8453, allocations: 0.8749 MB / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.8455, allocations: 118.5 kB / 0.9553 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.8456, allocations: 51.64 kB / 0.9553 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.8456, allocations: 2.469 kB / 0.9553 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.8458, allocations: 170 kB / 0.9555 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.8459, allocations: 1.469 kB / 0.9555 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0004259/0.8463, allocations: 231.9 kB / 0.9557 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.8463, allocations: 140.2 kB / 0.9559 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.8465, allocations: 240 kB / 0.9561 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.8466, allocations: 40.77 kB / 0.9561 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.8467, allocations: 135 kB / 0.9563 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.8467, allocations: 37.22 kB / 0.9563 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.8469, allocations: 92.11 kB / 0.9564 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.847, allocations: 337.2 kB / 0.9567 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.8473, allocations: 141.8 kB / 0.9568 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.8476, allocations: 222.3 kB / 0.957 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.8479, allocations: 372.5 kB / 0.9574 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8479, allocations: 0 / 0.9574 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008355/0.8488, allocations: 0.546 MB / 0.9579 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.8489, allocations: 138.2 kB / 0.9581 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8489, allocations: 6.75 kB / 0.9581 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8489, allocations: 4.125 kB / 0.9581 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.849, allocations: 13.61 kB / 0.9581 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.849, allocations: 12 kB / 0.9581 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.8497, allocations: 120.2 kB / 0.9582 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.8498, allocations: 26.92 kB / 0.9582 GB, free: 1.633 MB / 0.7169 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.000128/0.8499, allocations: 150.3 kB / 0.9584 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.8499, allocations: 18.03 kB / 0.9584 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.85, allocations: 22.55 kB / 0.9584 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.85, allocations: 2.5 kB / 0.9584 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.85, allocations: 13.2 kB / 0.9584 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.85, allocations: 1.094 kB / 0.9584 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.8502, allocations: 256.4 kB / 0.9587 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.8502, allocations: 1.469 kB / 0.9587 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.8502, allocations: 7.75 kB / 0.9587 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8502, allocations: 1.5 kB / 0.9587 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.8503, allocations: 11.98 kB / 0.9587 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.8503, allocations: 9.484 kB / 0.9587 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8503, allocations: 5.219 kB / 0.9587 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.8505, allocations: 221 kB / 0.9589 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.8506, allocations: 98.08 kB / 0.959 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.8506, allocations: 6.781 kB / 0.959 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.493e-05/0.8507, allocations: 10.3 kB / 0.959 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.8507, allocations: 14.2 kB / 0.9591 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.8508, allocations: 10.31 kB / 0.9591 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000127/0.8509, allocations: 170.5 kB / 0.9592 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8509, allocations: 0 / 0.9592 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003555/0.8513, allocations: 71 kB / 0.9593 GB, free: 0.75 MB / 0.7169 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.0001403/0.8514, allocations: 111.6 kB / 0.9594 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.852, allocations: 0.5253 MB / 0.9599 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8521, allocations: 4.125 kB / 0.9599 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.8522, allocations: 66.03 kB / 0.96 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.8526, allocations: 60.3 kB / 0.96 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006076/0.8532, allocations: 385.1 kB / 0.9604 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.8535, allocations: 0.7331 MB / 0.9611 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.583e-05/0.8536, allocations: 18.92 kB / 0.9611 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.8536, allocations: 17.38 kB / 0.9612 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.8537, allocations: 1.125 kB / 0.9612 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.008819/0.8625, allocations: 4.366 MB / 0.9654 GB, free: 12.95 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches