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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.3 MB / 405.3 MB, free: 13.46 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: 189 kB / 498.1 MB, free: 5.727 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.491/1.491, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009544/0.0009543, allocations: 104.2 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 9.375 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.4815, allocations: 149.6 MB / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.4819, allocations: 71.95 kB / 1.369 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05324/0.5352, allocations: 17.42 MB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5352, allocations: 0 / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.5353, allocations: 8 kB / 1.386 GB, free: 10.77 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.001837/0.5371, allocations: 1.012 MB / 1.387 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.5372, allocations: 12.03 kB / 1.387 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.5373, allocations: 46.48 kB / 1.387 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.5378, allocations: 63.67 kB / 1.387 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.5381, allocations: 203.3 kB / 1.387 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5382, allocations: 35.98 kB / 1.387 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/0.5386, allocations: 67.98 kB / 1.388 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.539, allocations: 217.2 kB / 1.388 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.539, allocations: 4 kB / 1.388 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.539, allocations: 11.98 kB / 1.388 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5391, allocations: 0 / 1.388 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.5392, allocations: 63.78 kB / 1.388 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.5407, allocations: 0.8484 MB / 1.389 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.5411, allocations: 323.2 kB / 1.389 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.5412, allocations: 12 kB / 1.389 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/0.5418, allocations: 459.1 kB / 1.389 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 4.509e-06/0.5418, allocations: 0 / 1.389 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001179/0.543, allocations: 0.5616 MB / 1.39 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/0.5432, allocations: 443.2 kB / 1.39 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.5436, allocations: 259.6 kB / 1.391 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002862/0.5439, allocations: 69.64 kB / 1.391 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.5442, allocations: 161.2 kB / 1.391 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.5443, allocations: 86.98 kB / 1.391 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.5445, allocations: 36 kB / 1.391 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5446, allocations: 354.8 kB / 1.391 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008681/0.5455, allocations: 425.3 kB / 1.392 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.5465, allocations: 0.695 MB / 1.392 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.5475, allocations: 0.8178 MB / 1.393 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.5476, allocations: 4 kB / 1.393 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002783/0.5504, allocations: 1.709 MB / 1.395 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003179/0.5507, allocations: 485.4 kB / 1.395 GB, free: 276 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.5507, allocations: 8 kB / 1.395 GB, free: 268 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.5508, allocations: 16 kB / 1.395 GB, free: 252 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.5508, allocations: 31.8 kB / 1.395 GB, free: 220 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.5509, allocations: 19.92 kB / 1.395 GB, free: 200 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.5533, allocations: 0.5427 MB / 1.396 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.5536, allocations: 95.92 kB / 1.396 GB, free: 15.56 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.0004154/0.554, allocations: 225.5 kB / 1.396 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5541, allocations: 39.53 kB / 1.396 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.318e-05/0.5542, allocations: 38.14 kB / 1.396 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.5542, allocations: 8 kB / 1.396 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.5542, allocations: 8 kB / 1.396 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5543, allocations: 7.984 kB / 1.396 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.5547, allocations: 329.4 kB / 1.397 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.5547, allocations: 4 kB / 1.397 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.5548, allocations: 23.86 kB / 1.397 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.5548, allocations: 4 kB / 1.397 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.5548, allocations: 23.98 kB / 1.397 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.5549, allocations: 4 kB / 1.397 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5549, allocations: 4 kB / 1.397 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.5557, allocations: 0.6761 MB / 1.397 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5558, allocations: 116.6 kB / 1.397 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.5559, allocations: 15.98 kB / 1.398 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.556, allocations: 19.98 kB / 1.398 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.5561, allocations: 59.89 kB / 1.398 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.5561, allocations: 23.98 kB / 1.398 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001632/0.5563, allocations: 191.1 kB / 1.398 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5563, allocations: 0 / 1.398 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007252/0.5571, allocations: 196 kB / 1.398 GB, free: 13.34 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.001353/0.5584, allocations: 2.235 MB / 1.4 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.5604, allocations: 1.751 MB / 1.402 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5604, allocations: 0 / 1.402 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.5606, allocations: 180.6 kB / 1.402 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.5612, allocations: 111.1 kB / 1.402 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.5652, allocations: 7.839 MB / 1.41 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.5655, allocations: 0.7803 MB / 1.411 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.5657, allocations: 46.95 kB / 1.411 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.5658, allocations: 111.4 kB / 1.411 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of SimCode: time 3.6e-07/0.5659, allocations: 0 / 1.411 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.5961, allocations: 13.62 MB / 1.424 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.5964, allocations: 213.1 kB / 1.424 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.801, allocations: 0 / 1.424 GB, free: 2.156 MB / 0.9167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat does not exist to compare? outputFormat=mat