Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009961/0.0009963, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001055/0.001055, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.645/2.645, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005692/0.0005693, allocations: 15.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7633/0.7639, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001247/0.7652, allocations: 0.6478 MB / 1.021 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.7672, allocations: 1.347 MB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.7673, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.7674, allocations: 7.875 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.7675, allocations: 51.84 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.7686, allocations: 375.2 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.7689, allocations: 231.7 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.7691, allocations: 37.81 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.7693, allocations: 151.6 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.7695, allocations: 119.5 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.7695, allocations: 16 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.7697, allocations: 31.98 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.7697, allocations: 23.91 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.7698, allocations: 73.58 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.7702, allocations: 376.9 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.7702, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7702, allocations: 4 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7702, allocations: 0 / 1.024 GB, free: 13.63 MB / 0.7794 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.0006677/0.7709, allocations: 0.5676 MB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7709, allocations: 11.98 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.603e-05/0.771, allocations: 27.81 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.7712, allocations: 217.8 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.7713, allocations: 19.89 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.7713, allocations: 20 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.7715, allocations: 123.4 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7716, allocations: 4 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.7716, allocations: 3.984 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.7716, allocations: 7.984 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.7717, allocations: 51.92 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.7727, allocations: 0.8757 MB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.7728, allocations: 122.4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.7728, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.7731, allocations: 178.6 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.7731, allocations: 3.938 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0004588/0.7736, allocations: 217.4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.7737, allocations: 136.5 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.7739, allocations: 240.9 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.774, allocations: 37.7 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.7741, allocations: 132.4 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.7742, allocations: 39.53 kB / 1.027 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.7742, allocations: 12 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7744, allocations: 330.8 kB / 1.027 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.7746, allocations: 144.2 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.775, allocations: 224.8 kB / 1.028 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.7753, allocations: 262.7 kB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7753, allocations: 0 / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008408/0.7761, allocations: 0.5507 MB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.7762, allocations: 138.8 kB / 1.029 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7763, allocations: 0 / 1.029 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7763, allocations: 4 kB / 1.029 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.7764, allocations: 15.94 kB / 1.029 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.7764, allocations: 7.953 kB / 1.029 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/0.7771, allocations: 157.8 kB / 1.029 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.7772, allocations: 31.97 kB / 1.029 GB, free: 8.34 MB / 0.7794 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.7774, allocations: 153.5 kB / 1.029 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.7774, allocations: 23.72 kB / 1.029 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.7775, allocations: 25.17 kB / 1.029 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.7775, allocations: 4 kB / 1.029 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7775, allocations: 3.938 kB / 1.029 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.7775, allocations: 4.891 kB / 1.029 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.7778, allocations: 257.5 kB / 1.029 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7778, allocations: 3.984 kB / 1.029 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.7778, allocations: 8 kB / 1.029 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.7778, allocations: 8 kB / 1.029 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.7778, allocations: 7.938 kB / 1.029 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7779, allocations: 3.984 kB / 1.029 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7779, allocations: 0 / 1.029 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.7782, allocations: 256.4 kB / 1.03 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.7782, allocations: 104.8 kB / 1.03 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.7783, allocations: 8 kB / 1.03 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.7783, allocations: 0 / 1.03 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.7784, allocations: 23.91 kB / 1.03 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.7784, allocations: 8 kB / 1.03 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001377/0.7785, allocations: 164.5 kB / 1.03 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7786, allocations: 8 kB / 1.03 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003259/0.7789, allocations: 67.84 kB / 1.03 GB, free: 7.098 MB / 0.7794 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 (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.0001602/0.7791, allocations: 115.2 kB / 1.03 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000651/0.7797, allocations: 0.5209 MB / 1.031 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7797, allocations: 4.438 kB / 1.031 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.7798, allocations: 75.91 kB / 1.031 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.7802, allocations: 52.38 kB / 1.031 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.7808, allocations: 379.9 kB / 1.031 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.7811, allocations: 0.7362 MB / 1.032 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.003e-05/0.7812, allocations: 17.55 kB / 1.032 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.7812, allocations: 19.44 kB / 1.032 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7812, allocations: 3.938 kB / 1.032 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.008295/0.7895, allocations: 4.166 MB / 1.036 GB, free: 0.9648 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches