Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.431/2.431, allocations: 393.5 MB / 408.4 MB, free: 11 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.001053/0.001053, allocations: 178.7 kB / 0.4902 GB, free: 2.246 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.585/1.585, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0008769/0.0008769, allocations: 100.2 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.000359, allocations: 14.06 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.277, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.4819, allocations: 150.4 MB / 1.376 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4822, allocations: 75.95 kB / 1.376 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05343/0.5357, allocations: 17.43 MB / 1.393 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5357, allocations: 0 / 1.393 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.5358, allocations: 4 kB / 1.393 GB, free: 13.32 MB / 0.9011 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.001826/0.5376, allocations: 1.008 MB / 1.394 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.5377, allocations: 12.56 kB / 1.394 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.5382, allocations: 67.58 kB / 1.394 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.5385, allocations: 215.2 kB / 1.394 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.5386, allocations: 35.98 kB / 1.395 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.539, allocations: 67.98 kB / 1.395 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.5393, allocations: 204.4 kB / 1.395 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5393, allocations: 7.875 kB / 1.395 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.5394, allocations: 7.984 kB / 1.395 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5394, allocations: 4 kB / 1.395 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.5395, allocations: 71.78 kB / 1.395 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.5409, allocations: 0.8445 MB / 1.396 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.5413, allocations: 323.3 kB / 1.396 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.5413, allocations: 15.98 kB / 1.396 GB, free: 10 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/0.5419, allocations: 455.6 kB / 1.396 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=45): time 3.346e-06/0.5419, allocations: 0 / 1.396 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45): time 0.001193/0.5431, allocations: 0.5579 MB / 1.397 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/0.5434, allocations: 439.1 kB / 1.397 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.5437, allocations: 259.5 kB / 1.398 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.544, allocations: 69.69 kB / 1.398 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.5442, allocations: 161.3 kB / 1.398 GB, free: 7.891 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.5443, allocations: 94.91 kB / 1.398 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.5445, allocations: 32 kB / 1.398 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5447, allocations: 358.7 kB / 1.398 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008964/0.5456, allocations: 417.3 kB / 1.399 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.5467, allocations: 0.6989 MB / 1.399 GB, free: 6.164 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5478, allocations: 0.8217 MB / 1.4 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.5478, allocations: 4 kB / 1.4 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002856/0.5506, allocations: 1.697 MB / 1.402 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003156/0.551, allocations: 485.8 kB / 1.402 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.551, allocations: 12 kB / 1.402 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.5511, allocations: 15.94 kB / 1.402 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.5511, allocations: 31.86 kB / 1.402 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.5512, allocations: 23.88 kB / 1.402 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.5536, allocations: 0.5383 MB / 1.403 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/0.5538, allocations: 99.92 kB / 1.403 GB, free: 2.164 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.0004385/0.5543, allocations: 221.5 kB / 1.403 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.5544, allocations: 43.52 kB / 1.403 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/0.5545, allocations: 42.14 kB / 1.403 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5545, allocations: 8 kB / 1.403 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.5545, allocations: 4 kB / 1.403 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.5545, allocations: 4 kB / 1.403 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.555, allocations: 337.3 kB / 1.404 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.555, allocations: 4 kB / 1.404 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.5551, allocations: 19.92 kB / 1.404 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.5551, allocations: 8 kB / 1.404 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.5551, allocations: 19.97 kB / 1.404 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.5551, allocations: 7.938 kB / 1.404 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5551, allocations: 4 kB / 1.404 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008404/0.556, allocations: 0.68 MB / 1.404 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5561, allocations: 112.7 kB / 1.405 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.5562, allocations: 15.97 kB / 1.405 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.5563, allocations: 15.98 kB / 1.405 GB, free: 416 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5564, allocations: 63.83 kB / 1.405 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.5565, allocations: 27.98 kB / 1.405 GB, free: 324 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001825/0.5566, allocations: 187.1 kB / 1.405 GB, free: 140 kB / 0.9011 GB Notification: Performance of sort global known variables: time 3e-07/0.5567, allocations: 0 / 1.405 GB, free: 140 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.6821/1.239, allocations: 200.2 kB / 1.405 GB, free: 172 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.0002914/1.239, allocations: 136.8 kB / 1.405 GB, free: 171.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002493/1.242, allocations: 1.75 MB / 1.407 GB, free: 171 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.242, allocations: 0 / 1.407 GB, free: 171 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/1.242, allocations: 182.8 kB / 1.407 GB, free: 171 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/1.243, allocations: 111.8 kB / 1.407 GB, free: 171 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.244, allocations: 0.6851 MB / 1.408 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/1.244, allocations: 0.7833 MB / 1.409 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000141/1.244, allocations: 45.5 kB / 1.409 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/1.244, allocations: 36.69 kB / 1.409 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of SimCode: time 7.72e-07/1.244, allocations: 0 / 1.409 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.02453/1.269, allocations: 10.84 MB / 1.419 GB, free: 169.2 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches