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.008192/0.008192, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001428/0.001428, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.614/2.614, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 75.95 kB / 0.9509 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3648, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002246/0.3671, allocations: 0.9617 MB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.369, allocations: 1.434 MB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.3691, allocations: 4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.254e-05/0.3691, allocations: 15.75 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.3693, allocations: 59.56 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3704, allocations: 455.8 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.3709, allocations: 0.5108 MB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.371, allocations: 41.67 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.3712, allocations: 183.6 kB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.3715, allocations: 159.5 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.3716, allocations: 48 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3717, allocations: 67.92 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.3717, allocations: 35.86 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3719, allocations: 167.4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.3725, allocations: 0.4906 MB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3725, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3725, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3725, allocations: 0 / 1.092 GB, free: 12.88 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.0008395/0.3733, allocations: 0.6378 MB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3734, allocations: 12.03 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.3735, allocations: 28.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3737, allocations: 235 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3737, allocations: 12.38 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/0.3738, allocations: 32.3 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.374, allocations: 124.1 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.374, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3741, allocations: 3.984 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3741, allocations: 0 / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3742, allocations: 55.92 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009691/0.3752, allocations: 0.8757 MB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3753, allocations: 118.4 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/0.3754, allocations: 51.48 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3754, allocations: 0 / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.3757, allocations: 174.6 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.3757, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004895/0.3762, allocations: 229.3 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.3763, allocations: 140.5 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3765, allocations: 237 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.3766, allocations: 37.7 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3767, allocations: 132.5 kB / 1.095 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.3768, allocations: 43.69 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.3769, allocations: 89.64 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3771, allocations: 326.8 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.3774, allocations: 148.2 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.3777, allocations: 230.6 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.3782, allocations: 372.9 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3782, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009217/0.3791, allocations: 0.5509 MB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.3792, allocations: 136.6 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3792, allocations: 11.97 kB / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3793, allocations: 4 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.3794, allocations: 15.88 kB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3794, allocations: 4 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006657/0.3801, allocations: 111.8 kB / 1.097 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.3801, allocations: 40.84 kB / 1.097 GB, free: 7.242 MB / 0.8575 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.0001599/0.3803, allocations: 137.8 kB / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.3803, allocations: 23.86 kB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.3804, allocations: 21.23 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3804, allocations: 7.938 kB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3804, allocations: 4 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3804, allocations: 4 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.3807, allocations: 261.5 kB / 1.098 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3807, allocations: 4 kB / 1.098 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.3807, allocations: 15.92 kB / 1.098 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3808, allocations: 0 / 1.098 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3808, allocations: 11.94 kB / 1.098 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3808, allocations: 3.938 kB / 1.098 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3808, allocations: 3.984 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.3811, allocations: 215.5 kB / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.823e-05/0.3812, allocations: 104.9 kB / 1.098 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3812, allocations: 4 kB / 1.098 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.3813, allocations: 11.94 kB / 1.098 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3813, allocations: 7.984 kB / 1.098 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3813, allocations: 19.98 kB / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001428/0.3815, allocations: 160.5 kB / 1.098 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3815, allocations: 0 / 1.098 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003432/0.3818, allocations: 67.98 kB / 1.099 GB, free: 6.066 MB / 0.8575 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.0001709/0.382, allocations: 115.2 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007331/0.3828, allocations: 0.5367 MB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3828, allocations: 4 kB / 1.099 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3829, allocations: 59.92 kB / 1.099 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3833, allocations: 76.36 kB / 1.099 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.384, allocations: 338.7 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3843, allocations: 0.732 MB / 1.1 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.968e-05/0.3844, allocations: 18.3 kB / 1.1 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.3844, allocations: 19.44 kB / 1.1 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3844, allocations: 0 / 1.1 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.009062/0.3935, allocations: 4.581 MB / 1.105 GB, free: 15.54 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/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