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.001225/0.001225, allocations: 99.86 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.001394/0.001394, allocations: 177.3 kB / 15.95 MB, free: 216 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.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.355 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.391/2.391, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 15.94 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/0.7049, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001336/0.7063, allocations: 0.6409 MB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.7079, allocations: 1.34 MB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.708, allocations: 1.844 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.7081, allocations: 15.86 kB / 0.9555 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.7082, allocations: 53.06 kB / 0.9555 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.7092, allocations: 372.1 kB / 0.9559 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.7094, allocations: 231.7 kB / 0.9561 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.7096, allocations: 48.41 kB / 0.9562 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.7098, allocations: 139.5 kB / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.7099, allocations: 121.3 kB / 0.9564 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.71, allocations: 18 kB / 0.9564 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.7101, allocations: 28.61 kB / 0.9564 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.7101, allocations: 31.59 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.258e-05/0.7102, allocations: 67.61 kB / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.7105, allocations: 378.7 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.7105, allocations: 1.5 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7105, allocations: 0 / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7106, allocations: 0 / 0.9569 GB, free: 5.504 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.0005697/0.7111, allocations: 0.569 MB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7112, allocations: 8.875 kB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.7113, allocations: 30.31 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.7114, allocations: 219.8 kB / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.7115, allocations: 20.47 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.7115, allocations: 22 kB / 0.9577 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.7117, allocations: 116 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.7117, allocations: 1.938 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.7117, allocations: 4 kB / 0.9579 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.7118, allocations: 5.672 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.7119, allocations: 55.06 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.7126, allocations: 0.879 MB / 0.9588 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.7128, allocations: 115.3 kB / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.7128, allocations: 5.688 kB / 0.9589 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.713, allocations: 176.2 kB / 0.9591 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.713, allocations: 0 / 0.9591 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003993/0.7134, allocations: 222.7 kB / 0.9593 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.7135, allocations: 139.2 kB / 0.9594 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.7137, allocations: 237.6 kB / 0.9596 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.7137, allocations: 38.27 kB / 0.9597 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.7138, allocations: 138.8 kB / 0.9598 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.7139, allocations: 29.14 kB / 0.9598 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.7139, allocations: 10.19 kB / 0.9598 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.714, allocations: 332.6 kB / 0.9602 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.7142, allocations: 146.7 kB / 0.9603 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.7145, allocations: 229.8 kB / 0.9605 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.7148, allocations: 257.4 kB / 0.9608 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7148, allocations: 1 kB / 0.9608 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008006/0.7156, allocations: 0.5522 MB / 0.9613 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.7157, allocations: 138.2 kB / 0.9614 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.7157, allocations: 6.75 kB / 0.9614 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7157, allocations: 4.125 kB / 0.9614 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.7158, allocations: 13.22 kB / 0.9615 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7158, allocations: 7.703 kB / 0.9615 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/0.7166, allocations: 162.1 kB / 0.9616 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.7166, allocations: 26.52 kB / 0.9616 GB, free: 1.395 MB / 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.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.0001345/0.7168, allocations: 152 kB / 0.9618 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.7168, allocations: 22.19 kB / 0.9618 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.7168, allocations: 30.44 kB / 0.9618 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.7169, allocations: 3.094 kB / 0.9618 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7169, allocations: 1.125 kB / 0.9618 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7169, allocations: 1.156 kB / 0.9618 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.7171, allocations: 260.4 kB / 0.9621 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7171, allocations: 1 kB / 0.9621 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.7171, allocations: 11.27 kB / 0.9621 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.7171, allocations: 2.156 kB / 0.9621 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.7172, allocations: 6.781 kB / 0.9621 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.7172, allocations: 6.031 kB / 0.9621 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7172, allocations: 1.062 kB / 0.9621 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.7174, allocations: 258.8 kB / 0.9624 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.7175, allocations: 94.91 kB / 0.9625 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.7175, allocations: 7 kB / 0.9625 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.7176, allocations: 6 kB / 0.9625 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.7176, allocations: 26.22 kB / 0.9625 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.7176, allocations: 10.23 kB / 0.9625 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001174/0.7178, allocations: 165 kB / 0.9627 GB, free: 484 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7178, allocations: 0 / 0.9627 GB, free: 484 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003272/0.7181, allocations: 75.23 kB / 0.9627 GB, free: 468 kB / 0.7169 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.0001562/0.7183, allocations: 114 kB / 0.9628 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000628/0.7189, allocations: 0.525 MB / 0.9634 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7189, allocations: 0 / 0.9634 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.7191, allocations: 70.31 kB / 0.9634 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.7194, allocations: 58.25 kB / 0.9635 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.72, allocations: 371.6 kB / 0.9638 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.7203, allocations: 0.7353 MB / 0.9646 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.876e-05/0.7204, allocations: 22.05 kB / 0.9646 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.7204, allocations: 22.94 kB / 0.9646 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.7205, allocations: 0 / 0.9646 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.00863/0.7291, allocations: 4.17 MB / 0.9687 GB, free: 12.76 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches