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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.528/2.528, 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.001045/0.001045, allocations: 176 kB / 0.4901 GB, free: 2.25 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.624/1.624, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.0009196/0.0009196, allocations: 102.3 kB / 0.9396 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004004, allocations: 10.19 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3052, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.5132, allocations: 150.4 MB / 1.376 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5135, allocations: 71.95 kB / 1.376 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0517/0.5652, allocations: 17.42 MB / 1.393 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.951e-06/0.5653, allocations: 0 / 1.393 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.5653, allocations: 7.938 kB / 1.393 GB, free: 1.719 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.001897/0.5672, allocations: 1.009 MB / 1.394 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5673, allocations: 11.97 kB / 1.394 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.27e-05/0.5674, allocations: 42.55 kB / 1.394 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004455/0.5678, allocations: 71.56 kB / 1.394 GB, free: 444 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.5681, allocations: 211.3 kB / 1.395 GB, free: 196 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-05/0.5682, allocations: 39.98 kB / 1.395 GB, free: 156 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/0.5686, allocations: 63.94 kB / 1.395 GB, free: 92 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.569, allocations: 218.3 kB / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.569, allocations: 0 / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.5691, allocations: 7.984 kB / 1.395 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5691, allocations: 4 kB / 1.395 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.5692, allocations: 71.72 kB / 1.395 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.5706, allocations: 0.8445 MB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.571, allocations: 327.2 kB / 1.396 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.571, allocations: 8.062 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006373/0.5716, allocations: 447.7 kB / 1.397 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=45): time 6.221e-06/0.5717, allocations: 0 / 1.397 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45): time 0.001198/0.5729, allocations: 0.5656 MB / 1.397 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000208/0.5731, allocations: 435.2 kB / 1.398 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.5734, allocations: 263.5 kB / 1.398 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.5737, allocations: 65.69 kB / 1.398 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.5739, allocations: 157.3 kB / 1.398 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.5741, allocations: 98.89 kB / 1.398 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.5742, allocations: 36 kB / 1.398 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.5744, allocations: 354.7 kB / 1.398 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008713/0.5753, allocations: 421.3 kB / 1.399 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.5764, allocations: 0.6989 MB / 1.4 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.5775, allocations: 0.8216 MB / 1.4 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.5775, allocations: 7.938 kB / 1.4 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002793/0.5803, allocations: 1.697 MB / 1.402 GB, free: 7.785 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.5806, allocations: 477.5 kB / 1.402 GB, free: 7.227 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.5806, allocations: 15.98 kB / 1.402 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.5807, allocations: 12 kB / 1.402 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.5807, allocations: 32.73 kB / 1.403 GB, free: 7.168 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.5807, allocations: 19.94 kB / 1.403 GB, free: 7.148 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.5831, allocations: 0.546 MB / 1.403 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.5833, allocations: 99.91 kB / 1.403 GB, free: 6.504 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.0003822/0.5837, allocations: 218.3 kB / 1.403 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/0.5838, allocations: 39.53 kB / 1.403 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/0.5838, allocations: 46.14 kB / 1.403 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5839, allocations: 11.94 kB / 1.403 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.5839, allocations: 11.92 kB / 1.403 GB, free: 6.168 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5839, allocations: 7.984 kB / 1.403 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.5843, allocations: 337.3 kB / 1.404 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5843, allocations: 0 / 1.404 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.5844, allocations: 19.92 kB / 1.404 GB, free: 5.762 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.5844, allocations: 8 kB / 1.404 GB, free: 5.754 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.5844, allocations: 15.98 kB / 1.404 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.5844, allocations: 7.984 kB / 1.404 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.5844, allocations: 7.938 kB / 1.404 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.5852, allocations: 0.6762 MB / 1.405 GB, free: 4.902 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.5853, allocations: 112.6 kB / 1.405 GB, free: 4.773 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.5853, allocations: 19.98 kB / 1.405 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5854, allocations: 12 kB / 1.405 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.5855, allocations: 55.89 kB / 1.405 GB, free: 4.688 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.5856, allocations: 31.97 kB / 1.405 GB, free: 4.656 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001698/0.5858, allocations: 195 kB / 1.405 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5858, allocations: 0 / 1.405 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007623/0.5865, allocations: 204 kB / 1.405 GB, free: 4.27 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.001448/0.588, allocations: 2.212 MB / 1.407 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.5899, allocations: 1.746 MB / 1.409 GB, free: 4 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.59, allocations: 0 / 1.409 GB, free: 4 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.5902, allocations: 187.8 kB / 1.409 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.5909, allocations: 108.2 kB / 1.409 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.5952, allocations: 7.843 MB / 1.417 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.5956, allocations: 0.7881 MB / 1.418 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.5958, allocations: 42.97 kB / 1.418 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.596, allocations: 103.3 kB / 1.418 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of SimCode: time 9.82e-07/0.596, allocations: 0 / 1.418 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6095/1.205, allocations: 13.62 MB / 1.431 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/1.206, allocations: 217.9 kB / 1.431 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.485, allocations: 0 / 1.431 GB, free: 187.2 MB / 0.9167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat does not exist to compare? outputFormat=mat