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.001515/0.001515, allocations: 107.7 kB / 16.41 MB, free: 6.496 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.001563/0.001563, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.225/2.225, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 63.91 kB / 0.9515 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8324, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002175/0.8346, allocations: 0.9602 MB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.8365, allocations: 1.426 MB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.8366, allocations: 2.125 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.043e-05/0.8367, allocations: 21.25 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.8368, allocations: 60.5 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.838, allocations: 441.7 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006715/0.8386, allocations: 0.5182 MB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.8388, allocations: 42.78 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.8391, allocations: 182.4 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.8393, allocations: 172 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.266e-05/0.8394, allocations: 48.84 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.8396, allocations: 64 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.8396, allocations: 45.23 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.8398, allocations: 163.2 kB / 1.093 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.8405, allocations: 498.3 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8405, allocations: 0.5156 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8405, allocations: 3.938 kB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8405, allocations: 0.75 kB / 1.093 GB, free: 2.797 MB / 0.8575 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.0007689/0.8413, allocations: 0.6306 MB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8413, allocations: 10.39 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.8414, allocations: 31 kB / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.8416, allocations: 216 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.8416, allocations: 19.97 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.8417, allocations: 28.12 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.8419, allocations: 121.3 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8419, allocations: 4 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.842, allocations: 7 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.842, allocations: 2.188 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.8421, allocations: 52.36 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.8431, allocations: 0.8778 MB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.8432, allocations: 115.8 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.8433, allocations: 51.55 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.8433, allocations: 5.375 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.8436, allocations: 171.8 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.235e-06/0.8436, allocations: 8.625 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004951/0.8441, allocations: 222 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.8442, allocations: 141.4 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.8444, allocations: 240 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.8445, allocations: 37.58 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.8446, allocations: 136.3 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.8446, allocations: 30.97 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.8448, allocations: 92.91 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8449, allocations: 334.9 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.8453, allocations: 145.5 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.8457, allocations: 223 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.8462, allocations: 372.3 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8462, allocations: 1 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001093/0.8473, allocations: 0.555 MB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.8474, allocations: 137.1 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8474, allocations: 2.375 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.8475, allocations: 4.719 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.8476, allocations: 22.8 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.8476, allocations: 4.734 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.8483, allocations: 108.6 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.8484, allocations: 28.36 kB / 1.098 GB, free: 14.92 MB / 0.8731 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.0002018/0.8486, allocations: 153.1 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.8486, allocations: 22.95 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.8487, allocations: 20.78 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.8487, allocations: 7.703 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.8487, allocations: 1.094 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.8487, allocations: 1.766 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.849, allocations: 257.3 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.8491, allocations: 5.844 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.8491, allocations: 12.95 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.8491, allocations: 2.188 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.8491, allocations: 3.547 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.8491, allocations: 10.3 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.8492, allocations: 5.125 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.8495, allocations: 220.5 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.8496, allocations: 95.78 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.8496, allocations: 8.297 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/0.8497, allocations: 6.141 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.8497, allocations: 15.7 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.8498, allocations: 6.844 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001759/0.8499, allocations: 173.8 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8499, allocations: 0 / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003786/0.8503, allocations: 76.77 kB / 1.099 GB, free: 14.12 MB / 0.8731 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.000185/0.8505, allocations: 108.7 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007693/0.8513, allocations: 0.5212 MB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8513, allocations: 0 / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.8515, allocations: 91.45 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.852, allocations: 67.38 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/0.8527, allocations: 379.9 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.8531, allocations: 0.7305 MB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.8531, allocations: 20.78 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/0.8531, allocations: 4 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.008157/0.8613, allocations: 3.501 MB / 1.104 GB, free: 12.24 MB / 0.8731 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