Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.PulseNegativeStartTime,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.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,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.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009946/0.0009944, allocations: 180.9 kB / 487.4 MB, free: 5.023 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.55/1.55, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.001039/0.001039, allocations: 99.83 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.302e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.378, allocations: 148.9 MB / 1.351 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.378, allocations: 73.52 kB / 1.351 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04773/1.426, allocations: 17.3 MB / 1.368 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/1.426, allocations: 0 / 1.368 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.426, allocations: 7.75 kB / 1.368 GB, free: 33.14 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.0008209/1.427, allocations: 0.9667 MB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.427, allocations: 7.656 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/1.427, allocations: 60.94 kB / 1.369 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.427, allocations: 217.7 kB / 1.37 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.427, allocations: 3.812 kB / 1.37 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/1.428, allocations: 65.73 kB / 1.37 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/1.428, allocations: 37.09 kB / 1.37 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/1.428, allocations: 210.2 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.428, allocations: 0 / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/1.428, allocations: 10.69 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.428, allocations: 7.672 kB / 1.37 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/1.429, allocations: 0.8051 MB / 1.371 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/1.429, allocations: 307.5 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.429, allocations: 124.4 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/1.429, allocations: 11.03 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000442/1.429, allocations: 450.6 kB / 1.372 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.713e-06/1.429, allocations: 0 / 1.372 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0006567/1.43, allocations: 419.3 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.43, allocations: 436.7 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/1.43, allocations: 240.9 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/1.431, allocations: 58.69 kB / 1.373 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/1.431, allocations: 165.4 kB / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/1.431, allocations: 84.95 kB / 1.373 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.431, allocations: 26.72 kB / 1.373 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.431, allocations: 356.8 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/1.432, allocations: 363 kB / 1.374 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007057/1.433, allocations: 0.6382 MB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/1.434, allocations: 0.4945 MB / 1.375 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.434, allocations: 7.672 kB / 1.375 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002935/1.437, allocations: 1.277 MB / 1.376 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002537/1.437, allocations: 478 kB / 1.376 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.437, allocations: 11.69 kB / 1.376 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.731e-05/1.437, allocations: 19.41 kB / 1.376 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/1.437, allocations: 32.55 kB / 1.376 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/1.438, allocations: 18.03 kB / 1.376 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/1.44, allocations: 0.5321 MB / 1.377 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/1.44, allocations: 98.91 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.0004429/1.441, allocations: 181.2 kB / 1.377 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.441, allocations: 53.05 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/1.441, allocations: 36.62 kB / 1.377 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.441, allocations: 7.688 kB / 1.377 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.441, allocations: 7.781 kB / 1.377 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/1.441, allocations: 3.812 kB / 1.377 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/1.441, allocations: 282.8 kB / 1.378 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.441, allocations: 6.562 kB / 1.378 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/1.441, allocations: 18.53 kB / 1.378 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.441, allocations: 15.67 kB / 1.378 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/1.441, allocations: 15.33 kB / 1.378 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/1.441, allocations: 7.688 kB / 1.378 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.442, allocations: 7.781 kB / 1.378 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007494/1.442, allocations: 0.6409 MB / 1.378 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/1.442, allocations: 112.2 kB / 1.378 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/1.442, allocations: 14.8 kB / 1.378 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/1.443, allocations: 3.781 kB / 1.378 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.443, allocations: 57.39 kB / 1.379 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/1.443, allocations: 36.91 kB / 1.379 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001771/1.443, allocations: 178 kB / 1.379 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.443, allocations: 0 / 1.379 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007239/1.444, allocations: 191.2 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.0002969/1.444, allocations: 132 kB / 1.379 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001947/1.446, allocations: 1.647 MB / 1.381 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.446, allocations: 3.812 kB / 1.381 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/1.446, allocations: 156.1 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.0006985/1.447, allocations: 105.1 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.0008491/1.448, allocations: 467.5 kB / 1.381 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/1.448, allocations: 0.785 MB / 1.382 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000125/1.448, allocations: 43.86 kB / 1.382 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/1.449, allocations: 38.83 kB / 1.382 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/1.449, allocations: 3.938 kB / 1.382 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.01668/1.465, allocations: 10.02 MB / 1.392 GB, free: 20.11 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches