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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002481/0.002481, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.327/2.327, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.6528, allocations: 140.3 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002083/0.655, allocations: 0.9729 MB / 0.9507 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.6564, allocations: 1.433 MB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.6565, allocations: 2.125 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.6565, allocations: 15.8 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.6566, allocations: 52.02 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009079/0.6575, allocations: 438.4 kB / 0.9526 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.658, allocations: 0.51 MB / 0.9531 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.6581, allocations: 46.09 kB / 0.9531 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.6583, allocations: 189 kB / 0.9533 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.6585, allocations: 132.8 kB / 0.9534 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.304e-05/0.6585, allocations: 48.88 kB / 0.9535 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.6587, allocations: 72 kB / 0.9535 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.6587, allocations: 39.56 kB / 0.9536 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.6589, allocations: 164.4 kB / 0.9537 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.6592, allocations: 0.4908 MB / 0.9542 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6592, allocations: 0 / 0.9542 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6592, allocations: 0 / 0.9542 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.6592, allocations: 1.062 kB / 0.9542 GB, free: 5.754 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.0006423/0.6599, allocations: 0.6213 MB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.6599, allocations: 9.75 kB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.66, allocations: 42.25 kB / 0.9549 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.6601, allocations: 38.72 kB / 0.9549 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.6603, allocations: 223 kB / 0.9551 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6603, allocations: 18.72 kB / 0.9551 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.6604, allocations: 23.06 kB / 0.9552 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.6605, allocations: 120.2 kB / 0.9553 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.6605, allocations: 1.156 kB / 0.9553 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.6606, allocations: 9.078 kB / 0.9553 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.6606, allocations: 10.2 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.6607, allocations: 50.64 kB / 0.9553 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.6614, allocations: 0.8703 MB / 0.9562 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.6616, allocations: 120 kB / 0.9563 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.6616, allocations: 55.95 kB / 0.9564 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.6617, allocations: 1.406 kB / 0.9564 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.6619, allocations: 180.7 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.6619, allocations: 0 / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0004073/0.6623, allocations: 228.2 kB / 0.9568 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.6624, allocations: 136.1 kB / 0.9569 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.6626, allocations: 243.4 kB / 0.9571 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.6626, allocations: 38.73 kB / 0.9571 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.6627, allocations: 134.7 kB / 0.9573 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.6628, allocations: 32.92 kB / 0.9573 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.6629, allocations: 103.6 kB / 0.9574 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.663, allocations: 327 kB / 0.9577 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.6632, allocations: 147.7 kB / 0.9579 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.6635, allocations: 222.4 kB / 0.9581 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.6639, allocations: 367.5 kB / 0.9584 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.6639, allocations: 5.266 kB / 0.9584 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008289/0.6647, allocations: 0.5412 MB / 0.959 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.6648, allocations: 134.5 kB / 0.9591 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6648, allocations: 6.406 kB / 0.9591 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.6648, allocations: 12.64 kB / 0.9591 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.6649, allocations: 17.19 kB / 0.9591 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6649, allocations: 7.844 kB / 0.9591 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.6656, allocations: 119.5 kB / 0.9592 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.6657, allocations: 22.89 kB / 0.9593 GB, free: 1.344 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.0001497/0.6659, allocations: 151.8 kB / 0.9594 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.6659, allocations: 17.44 kB / 0.9594 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.666, allocations: 22.73 kB / 0.9594 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.666, allocations: 7.625 kB / 0.9595 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.666, allocations: 1.375 kB / 0.9595 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.666, allocations: 5.375 kB / 0.9595 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.6662, allocations: 256 kB / 0.9597 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6662, allocations: 1.375 kB / 0.9597 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.6662, allocations: 10.86 kB / 0.9597 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6663, allocations: 6.688 kB / 0.9597 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.6663, allocations: 2.75 kB / 0.9597 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.6663, allocations: 5.312 kB / 0.9597 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6663, allocations: 1.25 kB / 0.9597 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.6666, allocations: 229.1 kB / 0.9599 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.6666, allocations: 94.61 kB / 0.96 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.6667, allocations: 15.39 kB / 0.9601 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.001e-05/0.6667, allocations: 4.812 kB / 0.9601 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.6668, allocations: 15.33 kB / 0.9601 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6668, allocations: 5.5 kB / 0.9601 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001316/0.6669, allocations: 174.4 kB / 0.9602 GB, free: 488 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6669, allocations: 0 / 0.9602 GB, free: 488 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003603/0.6673, allocations: 68.31 kB / 0.9603 GB, free: 480 kB / 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.0005792/0.6679, allocations: 0.7744 MB / 0.9611 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007475/0.6686, allocations: 0.5267 MB / 0.9616 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6687, allocations: 0 / 0.9616 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.6688, allocations: 69.94 kB / 0.9616 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.6693, allocations: 63.33 kB / 0.9617 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.6731, allocations: 3.003 MB / 0.9646 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.6734, allocations: 0.7294 MB / 0.9654 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.6735, allocations: 18.58 kB / 0.9654 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.6736, allocations: 57.66 kB / 0.9654 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.6736, allocations: 1.125 kB / 0.9654 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.6978, allocations: 6.365 MB / 0.9716 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.523, allocations: 1.312 kB / 0.9716 GB, free: 8.973 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > 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/jenkins1/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