Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,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.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,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.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.382/2.382, 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.00106/0.00106, allocations: 188.7 kB / 496.1 MB, free: 12.86 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.644/1.644, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009152/0.0009153, allocations: 93.89 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.769e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3372, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.391, allocations: 150.4 MB / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.391, allocations: 70.7 kB / 1.366 GB, free: 3.629 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05156/1.443, allocations: 17.36 MB / 1.383 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/1.443, allocations: 4 kB / 1.383 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.632e-05/1.443, allocations: 4 kB / 1.383 GB, free: 4.543 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001495/1.445, allocations: 0.9581 MB / 1.384 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.445, allocations: 12.03 kB / 1.384 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/1.445, allocations: 67.66 kB / 1.384 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/1.445, allocations: 212.1 kB / 1.384 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/1.445, allocations: 38.23 kB / 1.384 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/1.446, allocations: 63.23 kB / 1.384 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/1.446, allocations: 215.3 kB / 1.384 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.446, allocations: 3.938 kB / 1.384 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/1.446, allocations: 7.984 kB / 1.384 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.446, allocations: 4 kB / 1.384 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/1.446, allocations: 65.36 kB / 1.384 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.447, allocations: 0.8426 MB / 1.385 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/1.448, allocations: 319.7 kB / 1.385 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/1.448, allocations: 141.5 kB / 1.386 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/1.448, allocations: 0 / 1.386 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005551/1.448, allocations: 473.9 kB / 1.386 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/1.448, allocations: 0 / 1.386 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0008738/1.449, allocations: 456.3 kB / 1.386 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/1.449, allocations: 437.4 kB / 1.387 GB, free: 36 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/1.45, allocations: 260.7 kB / 1.387 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002057/1.45, allocations: 71.25 kB / 1.387 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/1.45, allocations: 157.6 kB / 1.387 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/1.45, allocations: 89.28 kB / 1.387 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.45, allocations: 37.86 kB / 1.387 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.451, allocations: 352.2 kB / 1.388 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/1.451, allocations: 408.6 kB / 1.388 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.452, allocations: 0.6803 MB / 1.389 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.453, allocations: 0.8117 MB / 1.39 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/1.454, allocations: 8 kB / 1.39 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002794/1.456, allocations: 1.679 MB / 1.391 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003119/1.457, allocations: 484.9 kB / 1.392 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/1.457, allocations: 8 kB / 1.392 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.457, allocations: 16 kB / 1.392 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/1.457, allocations: 31.23 kB / 1.392 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/1.457, allocations: 19.92 kB / 1.392 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/1.459, allocations: 0.5412 MB / 1.392 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/1.459, allocations: 101.5 kB / 1.392 GB, free: 10.74 MB / 0.8542 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 () * 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.0003114/1.46, allocations: 197.2 kB / 1.393 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.46, allocations: 46.7 kB / 1.393 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/1.46, allocations: 32.2 kB / 1.393 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.46, allocations: 8 kB / 1.393 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/1.46, allocations: 8 kB / 1.393 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.46, allocations: 7.938 kB / 1.393 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/1.46, allocations: 334.1 kB / 1.393 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.46, allocations: 4 kB / 1.393 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/1.46, allocations: 15.92 kB / 1.393 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/1.461, allocations: 8 kB / 1.393 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/1.461, allocations: 23.28 kB / 1.393 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/1.461, allocations: 15.94 kB / 1.393 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.461, allocations: 4 kB / 1.393 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/1.461, allocations: 0.6662 MB / 1.394 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/1.462, allocations: 112.7 kB / 1.394 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/1.462, allocations: 11.17 kB / 1.394 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.462, allocations: 22.8 kB / 1.394 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.462, allocations: 55.2 kB / 1.394 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/1.462, allocations: 27.3 kB / 1.394 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002037/1.462, allocations: 182.1 kB / 1.394 GB, free: 9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.833e-06/1.462, allocations: 0 / 1.394 GB, free: 9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001016/1.463, allocations: 210 kB / 1.394 GB, free: 8.809 MB / 0.8542 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 () * 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.0002971/1.463, allocations: 143.9 kB / 1.394 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002166/1.466, allocations: 1.731 MB / 1.396 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.466, allocations: 0 / 1.396 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/1.466, allocations: 178.8 kB / 1.396 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/1.467, allocations: 109.9 kB / 1.396 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.468, allocations: 0.4934 MB / 1.397 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/1.468, allocations: 0.7841 MB / 1.398 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001562/1.468, allocations: 42.97 kB / 1.398 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/1.468, allocations: 38.55 kB / 1.398 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of SimCode: time 1.814e-06/1.468, allocations: 0 / 1.398 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.01815/1.487, allocations: 10.87 MB / 1.408 GB, free: 10.78 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches