Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001549/0.001549, allocations: 176.9 kB / 487.4 MB, free: 5.043 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.722/1.722, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.0009323, allocations: 95.78 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.792e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.309, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.363, allocations: 148.9 MB / 1.351 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.363, allocations: 68.77 kB / 1.351 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04856/1.412, allocations: 17.3 MB / 1.368 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/1.412, allocations: 0 / 1.368 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.412, allocations: 3.844 kB / 1.368 GB, free: 33.15 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.0009168/1.413, allocations: 0.9685 MB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.413, allocations: 7.75 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/1.413, allocations: 63 kB / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.413, allocations: 214.1 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.413, allocations: 3.328 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/1.413, allocations: 64.62 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/1.413, allocations: 42.56 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/1.414, allocations: 208.6 kB / 1.37 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.414, allocations: 0 / 1.37 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/1.414, allocations: 7.031 kB / 1.37 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.414, allocations: 7.875 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/1.414, allocations: 0.8132 MB / 1.371 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/1.415, allocations: 304.1 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/1.415, allocations: 127.3 kB / 1.371 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/1.415, allocations: 11.84 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/1.415, allocations: 447.2 kB / 1.372 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/1.415, allocations: 0 / 1.372 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0006782/1.416, allocations: 416.3 kB / 1.372 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.416, allocations: 436.2 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/1.416, allocations: 240.3 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/1.416, allocations: 61.2 kB / 1.373 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/1.417, allocations: 164.1 kB / 1.373 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/1.417, allocations: 86.19 kB / 1.373 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/1.417, allocations: 26.69 kB / 1.373 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.417, allocations: 351 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/1.418, allocations: 374.8 kB / 1.374 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/1.418, allocations: 0.6347 MB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.42, allocations: 0.4903 MB / 1.375 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.42, allocations: 7.797 kB / 1.375 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002952/1.423, allocations: 1.276 MB / 1.376 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/1.423, allocations: 480.1 kB / 1.376 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.423, allocations: 11.53 kB / 1.376 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/1.423, allocations: 19.34 kB / 1.376 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/1.423, allocations: 30.95 kB / 1.376 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.423, allocations: 21.41 kB / 1.376 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/1.425, allocations: 0.5269 MB / 1.377 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/1.426, allocations: 98.2 kB / 1.377 GB, free: 28.62 MB / 0.8386 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.0003304/1.426, allocations: 187 kB / 1.377 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.426, allocations: 48.92 kB / 1.377 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/1.426, allocations: 38.27 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.426, allocations: 7.719 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.426, allocations: 3.906 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/1.426, allocations: 6.672 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/1.426, allocations: 288.9 kB / 1.378 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.427, allocations: 3.844 kB / 1.378 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/1.427, allocations: 15.58 kB / 1.378 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.427, allocations: 15.77 kB / 1.378 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.427, allocations: 19.14 kB / 1.378 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.427, allocations: 7.812 kB / 1.378 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.427, allocations: 7.812 kB / 1.378 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/1.427, allocations: 0.6369 MB / 1.378 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/1.427, allocations: 112.3 kB / 1.378 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/1.427, allocations: 15.05 kB / 1.378 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.427, allocations: 3.812 kB / 1.378 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/1.427, allocations: 61.3 kB / 1.379 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/1.428, allocations: 33.58 kB / 1.379 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001407/1.428, allocations: 180.8 kB / 1.379 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.428, allocations: 0 / 1.379 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006125/1.428, allocations: 191.5 kB / 1.379 GB, free: 27.52 MB / 0.8386 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.0002102/1.429, allocations: 128.4 kB / 1.379 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001563/1.43, allocations: 1.654 MB / 1.381 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.43, allocations: 0 / 1.381 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/1.43, allocations: 157.6 kB / 1.381 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/1.431, allocations: 106.9 kB / 1.381 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/1.432, allocations: 475.7 kB / 1.381 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/1.432, allocations: 0.7808 MB / 1.382 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000122/1.432, allocations: 53.98 kB / 1.382 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/1.432, allocations: 37.64 kB / 1.382 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.432, allocations: 0 / 1.382 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.01499/1.447, allocations: 10 MB / 1.392 GB, free: 20.11 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches