Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.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.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",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.27/2.27, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001206/0.001206, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.535/1.535, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009526/0.0009527, allocations: 107.5 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.925e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3323, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9935/1.326, allocations: 154 MB / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.326, allocations: 79.69 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0634/1.39, allocations: 23.74 MB / 1.392 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/1.39, allocations: 0 / 1.392 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.965e-05/1.39, allocations: 24.08 kB / 1.392 GB, free: 11.97 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001175/1.391, allocations: 0.7698 MB / 1.393 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.391, allocations: 12.03 kB / 1.393 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/1.391, allocations: 41.44 kB / 1.393 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/1.391, allocations: 79 kB / 1.393 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/1.393, allocations: 0.6892 MB / 1.394 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/1.393, allocations: 12.81 kB / 1.394 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/1.393, allocations: 11.38 kB / 1.394 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/1.393, allocations: 205.2 kB / 1.394 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.393, allocations: 0 / 1.394 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/1.393, allocations: 3.25 kB / 1.394 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.393, allocations: 4 kB / 1.394 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/1.393, allocations: 113 kB / 1.394 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/1.395, allocations: 1.104 MB / 1.395 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/1.395, allocations: 270.6 kB / 1.396 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/1.395, allocations: 97.69 kB / 1.396 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/1.395, allocations: 15.94 kB / 1.396 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/1.396, allocations: 222.6 kB / 1.396 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/1.396, allocations: 7.938 kB / 1.396 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0006349/1.396, allocations: 340 kB / 1.396 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/1.396, allocations: 165.7 kB / 1.397 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.398, allocations: 0.9479 MB / 1.397 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/1.398, allocations: 29.33 kB / 1.397 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/1.398, allocations: 298.9 kB / 1.398 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/1.398, allocations: 72.22 kB / 1.398 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/1.398, allocations: 14.19 kB / 1.398 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.398, allocations: 335 kB / 1.398 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/1.399, allocations: 246.2 kB / 1.398 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/1.399, allocations: 339.8 kB / 1.399 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/1.399, allocations: 277.1 kB / 1.399 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.399, allocations: 0 / 1.399 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001066/1.4, allocations: 0.7404 MB / 1.4 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.4, allocations: 9.406 kB / 1.4 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/1.4, allocations: 0 / 1.4 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/1.4, allocations: 12.16 kB / 1.4 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/1.401, allocations: 115.8 kB / 1.4 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.401, allocations: 4 kB / 1.4 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/1.401, allocations: 42.11 kB / 1.4 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/1.401, allocations: 39.05 kB / 1.4 GB, free: 5.43 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.000166/1.402, allocations: 154.3 kB / 1.4 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.402, allocations: 79.02 kB / 1.4 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/1.402, allocations: 381.8 kB / 1.401 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.402, allocations: 4 kB / 1.401 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.402, allocations: 4 kB / 1.401 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/1.402, allocations: 3.984 kB / 1.401 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/1.403, allocations: 491.8 kB / 1.401 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.403, allocations: 0 / 1.401 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.45e-05/1.403, allocations: 35.86 kB / 1.401 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/1.403, allocations: 4 kB / 1.401 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/1.403, allocations: 19.5 kB / 1.401 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.403, allocations: 0 / 1.401 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.403, allocations: 4 kB / 1.401 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/1.404, allocations: 459.8 kB / 1.401 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/1.404, allocations: 179.6 kB / 1.402 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/1.404, allocations: 6.938 kB / 1.402 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/1.404, allocations: 22.42 kB / 1.402 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/1.404, allocations: 27.3 kB / 1.402 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/1.404, allocations: 15.98 kB / 1.402 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000696/1.405, allocations: 0.6107 MB / 1.402 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/1.405, allocations: 0 / 1.402 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000477/1.405, allocations: 144 kB / 1.402 GB, free: 3.16 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001947/1.407, allocations: 1.609 MB / 1.404 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000623/1.408, allocations: 405.5 kB / 1.404 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.408, allocations: 0 / 1.404 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/1.408, allocations: 111 kB / 1.405 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/1.409, allocations: 195.6 kB / 1.405 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/1.411, allocations: 1.07 MB / 1.406 GB, free: 232 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/1.411, allocations: 0.9535 MB / 1.407 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002972/1.412, allocations: 113 kB / 1.407 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.412, allocations: 233.4 kB / 1.407 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/1.412, allocations: 0 / 1.407 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/1.444, allocations: 13.99 MB / 1.421 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.444, allocations: 244.8 kB / 1.421 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/4.013, allocations: 0 / 1.421 GB, free: 1.098 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat