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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.251/2.251, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001156/0.001156, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009726/0.0009734, allocations: 95.61 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.879e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3517, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.458, allocations: 150.3 MB / 1.366 GB, free: 3.805 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.458, allocations: 72.27 kB / 1.366 GB, free: 3.766 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01826/1.476, allocations: 6.188 MB / 1.372 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.026e-06/1.476, allocations: 0 / 1.372 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.571e-05/1.476, allocations: 4 kB / 1.372 GB, free: 14.45 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.000822/1.477, allocations: 0.5486 MB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.477, allocations: 12.03 kB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/1.477, allocations: 27.81 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/1.478, allocations: 224.6 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/1.478, allocations: 15.88 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.478, allocations: 27.25 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/1.478, allocations: 117.3 kB / 1.373 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.478, allocations: 7.938 kB / 1.373 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/1.478, allocations: 3.562 kB / 1.373 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.478, allocations: 0 / 1.373 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/1.478, allocations: 49.5 kB / 1.373 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/1.479, allocations: 0.8741 MB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/1.48, allocations: 117.9 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/1.48, allocations: 49.5 kB / 1.374 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/1.48, allocations: 7.25 kB / 1.374 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/1.48, allocations: 168 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/1.48, allocations: 4 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003987/1.48, allocations: 180.4 kB / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/1.481, allocations: 143.9 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/1.481, allocations: 210.9 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/1.481, allocations: 40.39 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/1.481, allocations: 126 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/1.481, allocations: 36.78 kB / 1.375 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/1.481, allocations: 7.062 kB / 1.375 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.481, allocations: 332.8 kB / 1.375 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/1.482, allocations: 143 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/1.482, allocations: 215.5 kB / 1.375 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/1.482, allocations: 252.8 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.482, allocations: 0 / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009271/1.483, allocations: 0.547 MB / 1.376 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.483, allocations: 138.7 kB / 1.376 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.483, allocations: 4 kB / 1.376 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.483, allocations: 4 kB / 1.376 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/1.483, allocations: 15.92 kB / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.483, allocations: 7.984 kB / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/1.484, allocations: 153.5 kB / 1.376 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/1.484, allocations: 27.42 kB / 1.376 GB, free: 9.918 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.0001336/1.484, allocations: 136.4 kB / 1.376 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/1.484, allocations: 19.77 kB / 1.376 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/1.485, allocations: 16.88 kB / 1.376 GB, free: 9.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.485, allocations: 4 kB / 1.376 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.485, allocations: 11.92 kB / 1.376 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.485, allocations: 0 / 1.376 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/1.485, allocations: 259.4 kB / 1.377 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/1.485, allocations: 4 kB / 1.377 GB, free: 9.461 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/1.485, allocations: 15.38 kB / 1.377 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/1.485, allocations: 0 / 1.377 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/1.485, allocations: 15.88 kB / 1.377 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.485, allocations: 4 kB / 1.377 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.485, allocations: 4 kB / 1.377 GB, free: 9.426 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/1.485, allocations: 248.7 kB / 1.377 GB, free: 9.176 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/1.485, allocations: 96.02 kB / 1.377 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/1.485, allocations: 11.5 kB / 1.377 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/1.485, allocations: 3.984 kB / 1.377 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/1.486, allocations: 15.48 kB / 1.377 GB, free: 9.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/1.486, allocations: 4 kB / 1.377 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001752/1.486, allocations: 168.9 kB / 1.377 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.486, allocations: 0 / 1.377 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003656/1.486, allocations: 63.62 kB / 1.377 GB, free: 8.84 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.0002247/1.486, allocations: 133.3 kB / 1.377 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006491/1.487, allocations: 0.5227 MB / 1.378 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.487, allocations: 0 / 1.378 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/1.487, allocations: 65.61 kB / 1.378 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/1.487, allocations: 59.64 kB / 1.378 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/1.488, allocations: 237.4 kB / 1.378 GB, free: 7.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/1.488, allocations: 0.7362 MB / 1.379 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.766e-05/1.488, allocations: 22.3 kB / 1.379 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/1.488, allocations: 19.44 kB / 1.379 GB, free: 7.129 MB / 0.8386 GB Notification: Performance of SimCode: time 9.62e-07/1.488, allocations: 0 / 1.379 GB, free: 7.129 MB / 0.8386 GB Notification: Performance of Templates: time 0.00811/1.497, allocations: 4.18 MB / 1.383 GB, free: 3.02 MB / 0.8386 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