Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.314/2.314, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001124/0.001125, allocations: 183.5 kB / 498.1 MB, free: 5.754 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.744/1.744, allocations: 223.2 MB / 0.7949 GB, free: 17.84 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.001017/0.001017, allocations: 98.55 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.304, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.4904, allocations: 149.6 MB / 1.369 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.4907, allocations: 75.94 kB / 1.369 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05215/0.5429, allocations: 17.42 MB / 1.386 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/0.543, allocations: 0 / 1.386 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.543, allocations: 4 kB / 1.386 GB, free: 10.91 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001792/0.5448, allocations: 1.008 MB / 1.387 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.5449, allocations: 12.03 kB / 1.387 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005298/0.5454, allocations: 67.66 kB / 1.387 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.5457, allocations: 211.3 kB / 1.387 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5458, allocations: 35.98 kB / 1.387 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.5462, allocations: 71.97 kB / 1.387 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.5465, allocations: 210.3 kB / 1.388 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5466, allocations: 3.938 kB / 1.388 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.5466, allocations: 7.984 kB / 1.388 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.5466, allocations: 4 kB / 1.388 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.5468, allocations: 71.78 kB / 1.388 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.548, allocations: 0.8367 MB / 1.389 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.5484, allocations: 327.2 kB / 1.389 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5484, allocations: 12 kB / 1.389 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006166/0.5491, allocations: 455.1 kB / 1.389 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 3.095e-06/0.5491, allocations: 0 / 1.389 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001126/0.5502, allocations: 0.5496 MB / 1.39 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/0.5504, allocations: 443.1 kB / 1.39 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.5508, allocations: 263.5 kB / 1.391 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.5511, allocations: 65.7 kB / 1.391 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.5513, allocations: 161.3 kB / 1.391 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.5515, allocations: 98.89 kB / 1.391 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.5516, allocations: 32 kB / 1.391 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5518, allocations: 350.8 kB / 1.391 GB, free: 5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008699/0.5527, allocations: 425.3 kB / 1.392 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.5537, allocations: 0.6989 MB / 1.392 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.5549, allocations: 0.8183 MB / 1.393 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.5549, allocations: 4 kB / 1.393 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002754/0.5576, allocations: 1.701 MB / 1.395 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.558, allocations: 481.8 kB / 1.395 GB, free: 480 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.558, allocations: 12 kB / 1.395 GB, free: 468 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.464e-05/0.5581, allocations: 12 kB / 1.395 GB, free: 456 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.5581, allocations: 39.8 kB / 1.395 GB, free: 416 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/0.5582, allocations: 27.91 kB / 1.395 GB, free: 388 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.5606, allocations: 0.5382 MB / 1.396 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.5608, allocations: 99.92 kB / 1.396 GB, free: 15.74 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0004265/0.5613, allocations: 229.5 kB / 1.396 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5614, allocations: 39.53 kB / 1.396 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.5615, allocations: 38.14 kB / 1.396 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5615, allocations: 8 kB / 1.396 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.5615, allocations: 4 kB / 1.396 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5616, allocations: 7.984 kB / 1.396 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.5621, allocations: 333.4 kB / 1.397 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5621, allocations: 0 / 1.397 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.5621, allocations: 23.92 kB / 1.397 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.5622, allocations: 8 kB / 1.397 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.5622, allocations: 15.98 kB / 1.397 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.5622, allocations: 7.938 kB / 1.397 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5622, allocations: 4 kB / 1.397 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/0.5631, allocations: 0.6839 MB / 1.397 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.5632, allocations: 108.6 kB / 1.397 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.5632, allocations: 15.98 kB / 1.397 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5634, allocations: 15.98 kB / 1.397 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5635, allocations: 63.83 kB / 1.397 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.5635, allocations: 27.98 kB / 1.398 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001808/0.5637, allocations: 191.1 kB / 1.398 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5637, allocations: 0 / 1.398 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007847/0.5645, allocations: 204 kB / 1.398 GB, free: 13.52 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002528/0.5648, allocations: 144.2 kB / 1.398 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.5669, allocations: 1.751 MB / 1.4 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5669, allocations: 0 / 1.4 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.5671, allocations: 184.9 kB / 1.4 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.5678, allocations: 113.2 kB / 1.4 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.5689, allocations: 0.6746 MB / 1.401 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.5693, allocations: 0.7881 MB / 1.401 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.5695, allocations: 38.98 kB / 1.401 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.5696, allocations: 35.42 kB / 1.402 GB, free: 9.512 MB / 0.9011 GB Notification: Performance of SimCode: time 2.81e-07/0.5696, allocations: 0 / 1.402 GB, free: 9.512 MB / 0.9011 GB Notification: Performance of Templates: time 0.01948/0.589, allocations: 10.83 MB / 1.412 GB, free: 14.84 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches