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.307/2.307, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.00114/0.00114, allocations: 184.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009136/0.0009136, allocations: 95.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.187e-05, allocations: 6.344 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3023, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9964/1.299, allocations: 150.4 MB / 1.366 GB, free: 3.648 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.299, allocations: 74.23 kB / 1.366 GB, free: 3.609 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05249/1.352, allocations: 17.38 MB / 1.383 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.943e-06/1.352, allocations: 0 / 1.383 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.876e-05/1.352, allocations: 4 kB / 1.383 GB, free: 4.52 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.001626/1.353, allocations: 0.9715 MB / 1.384 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.353, allocations: 8.031 kB / 1.384 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.151e-05/1.354, allocations: 42.53 kB / 1.384 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/1.354, allocations: 67.66 kB / 1.384 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/1.354, allocations: 208 kB / 1.384 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.354, allocations: 38.86 kB / 1.384 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/1.355, allocations: 65.36 kB / 1.384 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/1.355, allocations: 212.5 kB / 1.384 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.355, allocations: 0 / 1.384 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/1.355, allocations: 7.984 kB / 1.384 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.355, allocations: 4 kB / 1.384 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/1.355, allocations: 69.3 kB / 1.384 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/1.357, allocations: 0.8416 MB / 1.385 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/1.357, allocations: 327.4 kB / 1.386 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/1.357, allocations: 133.1 kB / 1.386 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/1.357, allocations: 10.8 kB / 1.386 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006433/1.358, allocations: 461.1 kB / 1.386 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 4.348e-06/1.358, allocations: 0 / 1.386 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0009873/1.359, allocations: 448.1 kB / 1.387 GB, free: 500 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002637/1.359, allocations: 445.3 kB / 1.387 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/1.359, allocations: 258.3 kB / 1.387 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.00024/1.36, allocations: 64.58 kB / 1.387 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/1.36, allocations: 166.2 kB / 1.387 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/1.36, allocations: 95.33 kB / 1.388 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/1.36, allocations: 31.06 kB / 1.388 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.36, allocations: 358.6 kB / 1.388 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/1.361, allocations: 406.7 kB / 1.388 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.362, allocations: 0.6867 MB / 1.389 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/1.363, allocations: 0.811 MB / 1.39 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/1.363, allocations: 7.984 kB / 1.39 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002696/1.366, allocations: 1.672 MB / 1.391 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003576/1.366, allocations: 481.6 kB / 1.392 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.366, allocations: 8 kB / 1.392 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.073e-05/1.366, allocations: 16 kB / 1.392 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/1.366, allocations: 31.86 kB / 1.392 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/1.366, allocations: 19.92 kB / 1.392 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/1.369, allocations: 0.5412 MB / 1.392 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/1.369, allocations: 98.55 kB / 1.393 GB, free: 10.66 MB / 0.8542 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.0003278/1.369, allocations: 205 kB / 1.393 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/1.37, allocations: 43.52 kB / 1.393 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.242e-05/1.37, allocations: 37.95 kB / 1.393 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.37, allocations: 8 kB / 1.393 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.37, allocations: 4 kB / 1.393 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.37, allocations: 4 kB / 1.393 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/1.37, allocations: 338.1 kB / 1.393 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.37, allocations: 4 kB / 1.393 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/1.37, allocations: 15.92 kB / 1.393 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/1.37, allocations: 8 kB / 1.393 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/1.37, allocations: 19.8 kB / 1.393 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/1.37, allocations: 12 kB / 1.393 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.37, allocations: 7.938 kB / 1.393 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/1.371, allocations: 0.6649 MB / 1.394 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/1.371, allocations: 108.7 kB / 1.394 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/1.371, allocations: 15.23 kB / 1.394 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/1.371, allocations: 15.55 kB / 1.394 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/1.372, allocations: 61.14 kB / 1.394 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/1.372, allocations: 27.55 kB / 1.394 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001611/1.372, allocations: 189 kB / 1.394 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.1e-07/1.372, allocations: 0 / 1.394 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007401/1.372, allocations: 202.2 kB / 1.394 GB, free: 8.734 MB / 0.8542 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.001618/1.374, allocations: 2.22 MB / 1.397 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.376, allocations: 1.715 MB / 1.398 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.376, allocations: 0 / 1.398 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/1.376, allocations: 183.6 kB / 1.398 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/1.377, allocations: 123.1 kB / 1.399 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/1.378, allocations: 0.6049 MB / 1.399 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/1.379, allocations: 0.7841 MB / 1.4 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001496/1.379, allocations: 42.97 kB / 1.4 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/1.379, allocations: 108 kB / 1.4 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/1.379, allocations: 0 / 1.4 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03719/1.416, allocations: 13.8 MB / 1.414 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/1.417, allocations: 197 kB / 1.414 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.75, allocations: 0 / 1.414 GB, free: 5.465 MB / 0.8698 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