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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.36/2.36, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001062/0.001062, allocations: 168 kB / 0.4901 GB, free: 2.258 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.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.0009516/0.0009518, allocations: 96.27 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003989, allocations: 10.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3089, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.5132, allocations: 150.4 MB / 1.376 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5135, allocations: 75.95 kB / 1.376 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05093/0.5645, allocations: 17.44 MB / 1.393 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5645, allocations: 0 / 1.393 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.5646, allocations: 4 kB / 1.393 GB, free: 1.496 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.001072/0.5656, allocations: 1.008 MB / 1.394 GB, free: 352 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5657, allocations: 8.031 kB / 1.394 GB, free: 344 kB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.5658, allocations: 42.55 kB / 1.394 GB, free: 292 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.566, allocations: 67.58 kB / 1.394 GB, free: 224 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.5662, allocations: 207.3 kB / 1.395 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.5662, allocations: 43.88 kB / 1.395 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.5664, allocations: 67.98 kB / 1.395 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.5667, allocations: 218.3 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5667, allocations: 0 / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.5667, allocations: 7.984 kB / 1.395 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.5667, allocations: 4 kB / 1.395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.5668, allocations: 67.72 kB / 1.395 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.5678, allocations: 0.8445 MB / 1.396 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.5681, allocations: 323.1 kB / 1.396 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.5681, allocations: 8.125 kB / 1.396 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.5687, allocations: 463.6 kB / 1.397 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.5687, allocations: 4 kB / 1.397 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45): time 0.001017/0.5698, allocations: 0.5538 MB / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/0.57, allocations: 435.2 kB / 1.398 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.5702, allocations: 263.5 kB / 1.398 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.5704, allocations: 65.7 kB / 1.398 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.5706, allocations: 165.3 kB / 1.398 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.5707, allocations: 94.89 kB / 1.398 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.5708, allocations: 36 kB / 1.398 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5709, allocations: 350.8 kB / 1.398 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008338/0.5718, allocations: 425.3 kB / 1.399 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009788/0.5728, allocations: 0.6989 MB / 1.4 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.5737, allocations: 0.8219 MB / 1.4 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5737, allocations: 0 / 1.4 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00256/0.5763, allocations: 1.701 MB / 1.402 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002816/0.5766, allocations: 481.5 kB / 1.402 GB, free: 7.004 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.5766, allocations: 13.17 kB / 1.402 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.5766, allocations: 16 kB / 1.402 GB, free: 6.977 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.5767, allocations: 31.86 kB / 1.403 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.5767, allocations: 23.92 kB / 1.403 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.579, allocations: 0.5421 MB / 1.403 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.5792, allocations: 99.92 kB / 1.403 GB, free: 6.281 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.0004152/0.5796, allocations: 223.6 kB / 1.403 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.5797, allocations: 43.52 kB / 1.403 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.5798, allocations: 46.12 kB / 1.403 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5798, allocations: 11.94 kB / 1.403 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.5799, allocations: 4 kB / 1.403 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5799, allocations: 7.984 kB / 1.403 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.5803, allocations: 325.4 kB / 1.404 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5803, allocations: 4 kB / 1.404 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.5803, allocations: 23.92 kB / 1.404 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.5803, allocations: 7.938 kB / 1.404 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.5804, allocations: 19.98 kB / 1.404 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5804, allocations: 8 kB / 1.404 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.5804, allocations: 7.938 kB / 1.404 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.5812, allocations: 0.6761 MB / 1.405 GB, free: 4.68 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.5812, allocations: 112.6 kB / 1.405 GB, free: 4.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.5813, allocations: 15.98 kB / 1.405 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.5814, allocations: 11.98 kB / 1.405 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.5815, allocations: 63.83 kB / 1.405 GB, free: 4.461 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.5815, allocations: 27.98 kB / 1.405 GB, free: 4.434 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000159/0.5817, allocations: 191.1 kB / 1.405 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5817, allocations: 0 / 1.405 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007203/0.5824, allocations: 208 kB / 1.405 GB, free: 4.047 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.001372/0.5838, allocations: 2.212 MB / 1.407 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.5858, allocations: 1.745 MB / 1.409 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5858, allocations: 1.812 kB / 1.409 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.5861, allocations: 179.7 kB / 1.409 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.5867, allocations: 109 kB / 1.409 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.5911, allocations: 7.843 MB / 1.417 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.5915, allocations: 0.7803 MB / 1.418 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.5917, allocations: 42.97 kB / 1.418 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.5919, allocations: 111.4 kB / 1.418 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of SimCode: time 1.042e-06/0.5919, allocations: 0 / 1.418 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5962/1.188, allocations: 13.63 MB / 1.431 GB, free: 187.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/1.188, allocations: 220.9 kB / 1.431 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.452, allocations: 3.969 kB / 1.431 GB, free: 187.2 MB / 0.9167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat does not exist to compare? outputFormat=mat