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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 387.1 MB / 399.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00094/0.00094, allocations: 176.8 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 0.7872 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.0008421, allocations: 100.7 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.638e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2991, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.317, allocations: 149.5 MB / 1.358 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.317, allocations: 70.27 kB / 1.358 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01715/1.334, allocations: 6.185 MB / 1.364 GB, free: 34.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.335, allocations: 0 / 1.364 GB, free: 34.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.292e-05/1.335, allocations: 3.812 kB / 1.364 GB, free: 34.49 MB / 0.8386 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.000549/1.335, allocations: 0.5477 MB / 1.365 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/1.335, allocations: 15.62 kB / 1.365 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/1.335, allocations: 26.91 kB / 1.365 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/1.335, allocations: 218.3 kB / 1.365 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/1.336, allocations: 15.16 kB / 1.365 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/1.336, allocations: 30.23 kB / 1.365 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/1.336, allocations: 118.5 kB / 1.365 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.336, allocations: 0 / 1.365 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/1.336, allocations: 11.28 kB / 1.365 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.336, allocations: 0 / 1.365 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/1.336, allocations: 57.45 kB / 1.365 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009172/1.337, allocations: 0.8695 MB / 1.366 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/1.337, allocations: 116.8 kB / 1.366 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/1.337, allocations: 47.53 kB / 1.366 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/1.337, allocations: 3.875 kB / 1.366 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/1.337, allocations: 182.8 kB / 1.367 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/1.337, allocations: 0 / 1.367 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003493/1.338, allocations: 175 kB / 1.367 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/1.338, allocations: 135.4 kB / 1.367 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/1.338, allocations: 214.1 kB / 1.367 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/1.338, allocations: 37.3 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.338, allocations: 126.9 kB / 1.367 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/1.338, allocations: 41.39 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/1.338, allocations: 11.19 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.338, allocations: 328.1 kB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/1.339, allocations: 139.5 kB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/1.339, allocations: 226.2 kB / 1.368 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/1.339, allocations: 245.7 kB / 1.368 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.339, allocations: 4 kB / 1.368 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007571/1.34, allocations: 0.5385 MB / 1.369 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.776e-05/1.34, allocations: 142.3 kB / 1.369 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.34, allocations: 3.969 kB / 1.369 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.34, allocations: 3.719 kB / 1.369 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/1.34, allocations: 14.81 kB / 1.369 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.34, allocations: 4.094 kB / 1.369 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/1.341, allocations: 154.7 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/1.341, allocations: 28.3 kB / 1.369 GB, free: 31.57 MB / 0.8386 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.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.341, allocations: 131.3 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/1.341, allocations: 23.31 kB / 1.369 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/1.341, allocations: 22.25 kB / 1.369 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.341, allocations: 7.688 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.341, allocations: 384 / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/1.341, allocations: 6.703 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/1.341, allocations: 259.1 kB / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.341, allocations: 0 / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/1.341, allocations: 18.27 kB / 1.37 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.341, allocations: 11.8 kB / 1.37 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.341, allocations: 7.5 kB / 1.37 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.341, allocations: 3.953 kB / 1.37 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.341, allocations: 3.984 kB / 1.37 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/1.342, allocations: 250.8 kB / 1.37 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/1.342, allocations: 103.4 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/1.342, allocations: 0 / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/1.342, allocations: 9.609 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/1.342, allocations: 13.22 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/1.342, allocations: 10.97 kB / 1.37 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001316/1.342, allocations: 166 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.342, allocations: 0 / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003028/1.342, allocations: 65.03 kB / 1.37 GB, free: 30.88 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001666/1.342, allocations: 128 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000536/1.343, allocations: 0.5225 MB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.343, allocations: 0 / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.925e-05/1.343, allocations: 68.42 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/1.343, allocations: 56.47 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/1.344, allocations: 240.9 kB / 1.371 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/1.344, allocations: 0.7379 MB / 1.372 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.982e-05/1.344, allocations: 16.12 kB / 1.372 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/1.344, allocations: 22.23 kB / 1.372 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.344, allocations: 0 / 1.372 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.00676/1.351, allocations: 4.184 MB / 1.376 GB, free: 29.32 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches