Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.48/2.48, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001139/0.001139, allocations: 191.8 kB / 0.4902 GB, free: 2.27 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.54/1.54, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0008791/0.0008787, allocations: 108.9 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004209, allocations: 10.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.5211, allocations: 150.4 MB / 1.376 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.5214, allocations: 75.94 kB / 1.376 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05491/0.5764, allocations: 17.43 MB / 1.393 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5764, allocations: 0 / 1.393 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.5764, allocations: 7.938 kB / 1.393 GB, free: 1.523 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.00152/0.578, allocations: 1 MB / 1.394 GB, free: 388 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/0.578, allocations: 8.562 kB / 1.394 GB, free: 380 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.5784, allocations: 71.56 kB / 1.394 GB, free: 308 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.5786, allocations: 211.3 kB / 1.394 GB, free: 60 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/0.5787, allocations: 39.94 kB / 1.395 GB, free: 20 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.5791, allocations: 64.03 kB / 1.395 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.5794, allocations: 210.3 kB / 1.395 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5794, allocations: 3.938 kB / 1.395 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.5795, allocations: 15.92 kB / 1.395 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5795, allocations: 8 kB / 1.395 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.5796, allocations: 67.78 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.5807, allocations: 0.8367 MB / 1.396 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.581, allocations: 335.2 kB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.5811, allocations: 4 kB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/0.5816, allocations: 455.6 kB / 1.396 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=45): time 2.584e-06/0.5817, allocations: 0 / 1.396 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45): time 0.00105/0.5827, allocations: 0.5577 MB / 1.397 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/0.5829, allocations: 439.2 kB / 1.397 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.5832, allocations: 263.5 kB / 1.398 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.5834, allocations: 61.7 kB / 1.398 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.5836, allocations: 161.3 kB / 1.398 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.5837, allocations: 98.89 kB / 1.398 GB, free: 12 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.5838, allocations: 32 kB / 1.398 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.584, allocations: 350.8 kB / 1.398 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/0.5848, allocations: 425.3 kB / 1.399 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/0.5858, allocations: 0.7067 MB / 1.399 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/0.5868, allocations: 0.8179 MB / 1.4 GB, free: 9.449 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.5868, allocations: 4 kB / 1.4 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002642/0.5895, allocations: 1.698 MB / 1.402 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002751/0.5898, allocations: 477.5 kB / 1.402 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.5898, allocations: 12 kB / 1.402 GB, free: 7.078 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.5898, allocations: 12 kB / 1.402 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.5899, allocations: 35.84 kB / 1.402 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.5899, allocations: 19.94 kB / 1.402 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.5922, allocations: 0.5423 MB / 1.403 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.5924, allocations: 99.91 kB / 1.403 GB, free: 6.371 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.0003317/0.5927, allocations: 226.2 kB / 1.403 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.5928, allocations: 43.52 kB / 1.403 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/0.5929, allocations: 38.14 kB / 1.403 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.5929, allocations: 8 kB / 1.403 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.5929, allocations: 4 kB / 1.403 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.593, allocations: 11.92 kB / 1.403 GB, free: 6.031 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.5933, allocations: 337.4 kB / 1.404 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5934, allocations: 7.938 kB / 1.404 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.5934, allocations: 19.92 kB / 1.404 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.5934, allocations: 4 kB / 1.404 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.5934, allocations: 19.98 kB / 1.404 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.5934, allocations: 4 kB / 1.404 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5935, allocations: 7.938 kB / 1.404 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007169/0.5942, allocations: 0.6801 MB / 1.404 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.5943, allocations: 108.6 kB / 1.405 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.5943, allocations: 15.98 kB / 1.405 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5945, allocations: 15.98 kB / 1.405 GB, free: 4.609 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.5946, allocations: 63.83 kB / 1.405 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.5946, allocations: 27.98 kB / 1.405 GB, free: 4.52 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001593/0.5948, allocations: 191.1 kB / 1.405 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5948, allocations: 4 kB / 1.405 GB, free: 4.332 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006921/0.5955, allocations: 200 kB / 1.405 GB, free: 4.137 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.0002246/0.5957, allocations: 143.9 kB / 1.405 GB, free: 3.988 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.5977, allocations: 1.747 MB / 1.407 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5977, allocations: 4.062 kB / 1.407 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.598, allocations: 180.2 kB / 1.407 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.5986, allocations: 108.9 kB / 1.407 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.5997, allocations: 0.6785 MB / 1.408 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.6, allocations: 0.7881 MB / 1.409 GB, free: 216 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.6002, allocations: 39.83 kB / 1.409 GB, free: 172 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.6003, allocations: 39.42 kB / 1.409 GB, free: 132 kB / 0.9011 GB Notification: Performance of SimCode: time 2.7e-07/0.6003, allocations: 3.938 kB / 1.409 GB, free: 128 kB / 0.9011 GB Notification: Performance of Templates: time 0.01887/0.6191, allocations: 10.84 MB / 1.419 GB, free: 5.438 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches