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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001155/0.001155, allocations: 98.88 kB / 16.02 MB, free: 76 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.001419/0.001419, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004323, allocations: 11.94 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.7531, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001064/0.7542, allocations: 0.6762 MB / 0.9564 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.7558, allocations: 1.474 MB / 0.9578 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.7559, allocations: 6.406 kB / 0.9578 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.7559, allocations: 11.86 kB / 0.9578 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.7561, allocations: 44.42 kB / 0.9579 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008844/0.757, allocations: 419.2 kB / 0.9583 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.7573, allocations: 418.3 kB / 0.9587 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.7575, allocations: 49.22 kB / 0.9587 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.7576, allocations: 150.2 kB / 0.9589 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.7578, allocations: 122.1 kB / 0.959 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.7579, allocations: 17.97 kB / 0.959 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.758, allocations: 32.73 kB / 0.959 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.758, allocations: 32.05 kB / 0.9591 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.7581, allocations: 157.2 kB / 0.9592 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.7584, allocations: 379.2 kB / 0.9596 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7584, allocations: 0 / 0.9596 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7584, allocations: 0 / 0.9596 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.7584, allocations: 3.938 kB / 0.9596 GB, free: 4.789 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.0005819/0.759, allocations: 0.5629 MB / 0.9601 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.7591, allocations: 9.625 kB / 0.9601 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.7592, allocations: 31.72 kB / 0.9602 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.7593, allocations: 219.3 kB / 0.9604 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.7594, allocations: 25.92 kB / 0.9604 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.7595, allocations: 23.16 kB / 0.9604 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.7597, allocations: 123 kB / 0.9606 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7597, allocations: 0 / 0.9606 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.7597, allocations: 6.625 kB / 0.9606 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.7597, allocations: 5 kB / 0.9606 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.7598, allocations: 54.5 kB / 0.9606 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.7606, allocations: 0.8788 MB / 0.9615 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.7608, allocations: 115.6 kB / 0.9616 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.7609, allocations: 51.89 kB / 0.9616 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.7609, allocations: 4.969 kB / 0.9616 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.7611, allocations: 171.8 kB / 0.9618 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.265e-06/0.7612, allocations: 0 / 0.9618 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0004329/0.7616, allocations: 233 kB / 0.962 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.7617, allocations: 140.5 kB / 0.9622 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.7619, allocations: 239.1 kB / 0.9624 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.7619, allocations: 38.02 kB / 0.9624 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.762, allocations: 129.9 kB / 0.9625 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.7621, allocations: 33.36 kB / 0.9626 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.7622, allocations: 37.98 kB / 0.9626 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.7622, allocations: 339.2 kB / 0.9629 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.7625, allocations: 151.5 kB / 0.9631 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.7629, allocations: 219.2 kB / 0.9633 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.7632, allocations: 371.5 kB / 0.9636 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7632, allocations: 1 kB / 0.9636 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008235/0.7641, allocations: 0.5496 MB / 0.9642 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.7641, allocations: 138.9 kB / 0.9643 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7642, allocations: 2.656 kB / 0.9643 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7642, allocations: 7.688 kB / 0.9643 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.7643, allocations: 17.17 kB / 0.9643 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7643, allocations: 11.66 kB / 0.9644 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.7651, allocations: 159.2 kB / 0.9645 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.7651, allocations: 26.83 kB / 0.9645 GB, free: 488 kB / 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.0001514/0.7653, allocations: 151.2 kB / 0.9647 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.7653, allocations: 21.78 kB / 0.9647 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.7654, allocations: 22.61 kB / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7654, allocations: 3.094 kB / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7654, allocations: 9.047 kB / 0.9647 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7654, allocations: 5.125 kB / 0.9647 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.7656, allocations: 255.8 kB / 0.965 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7656, allocations: 5.156 kB / 0.965 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.7657, allocations: 8.562 kB / 0.965 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7657, allocations: 1.531 kB / 0.965 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.7657, allocations: 6.328 kB / 0.965 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7657, allocations: 4.312 kB / 0.965 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7657, allocations: 7.875 kB / 0.965 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.7661, allocations: 218.6 kB / 0.9652 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.7661, allocations: 95.58 kB / 0.9653 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.7662, allocations: 2.625 kB / 0.9653 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.544e-05/0.7662, allocations: 9.203 kB / 0.9653 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.7663, allocations: 18.39 kB / 0.9653 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.7663, allocations: 5.938 kB / 0.9653 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000185/0.7665, allocations: 175 kB / 0.9655 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7665, allocations: 3.938 kB / 0.9655 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003525/0.7669, allocations: 67.91 kB / 0.9656 GB, free: 15.61 MB / 0.7325 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.0001733/0.767, allocations: 110.4 kB / 0.9657 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007336/0.7678, allocations: 0.519 MB / 0.9662 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.7678, allocations: 5.406 kB / 0.9662 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.768, allocations: 89.8 kB / 0.9663 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.7684, allocations: 62.38 kB / 0.9663 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.7691, allocations: 423.5 kB / 0.9667 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.7694, allocations: 0.7302 MB / 0.9675 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.7695, allocations: 17.97 kB / 0.9675 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7695, allocations: 0 / 0.9675 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.006595/0.7761, allocations: 3.466 MB / 0.9709 GB, free: 12.17 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/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