Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.316/2.316, allocations: 390.3 MB / 402.8 MB, free: 6.633 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.001334/0.001334, allocations: 184.9 kB / 496.1 MB, free: 12.85 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.668/1.668, 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.001262/0.001262, allocations: 88.03 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.6e-05/4.648e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.332, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9896/1.322, allocations: 149.6 MB / 1.365 GB, free: 4.371 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/1.322, allocations: 71.45 kB / 1.365 GB, free: 4.332 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001597/1.323, allocations: 0.6709 MB / 1.366 GB, free: 3.711 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.674e-06/1.324, allocations: 0 / 1.366 GB, free: 3.711 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.042e-06/1.324, allocations: 0 / 1.366 GB, free: 3.711 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003105/1.324, allocations: 333.4 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.324, allocations: 8.031 kB / 1.366 GB, free: 3.336 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/1.324, allocations: 37 kB / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/1.324, allocations: 0 / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/1.324, allocations: 171.8 kB / 1.366 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/1.324, allocations: 0 / 1.366 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/1.324, allocations: 0 / 1.366 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.371e-05/1.324, allocations: 40.27 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/1.324, allocations: 0 / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/1.324, allocations: 2.438 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.324, allocations: 2.5 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/1.324, allocations: 14.92 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/1.325, allocations: 257.3 kB / 1.366 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.666e-05/1.325, allocations: 25.64 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/1.325, allocations: 15.91 kB / 1.367 GB, free: 2.691 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/1.325, allocations: 0 / 1.367 GB, free: 2.691 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/1.325, allocations: 34.56 kB / 1.367 GB, free: 2.648 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/1.325, allocations: 4 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001342/1.325, allocations: 43.06 kB / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/1.325, allocations: 55.36 kB / 1.367 GB, free: 2.535 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/1.325, allocations: 92.12 kB / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/1.325, allocations: 25.7 kB / 1.367 GB, free: 2.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/1.325, allocations: 87.58 kB / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/1.325, allocations: 7.891 kB / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/1.325, allocations: 0 / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/1.325, allocations: 322.8 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/1.325, allocations: 11.75 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/1.325, allocations: 4 kB / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/1.325, allocations: 6 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.325, allocations: 0 / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.237e-05/1.325, allocations: 37.2 kB / 1.367 GB, free: 1.938 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.325, allocations: 4 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.325, allocations: 4 kB / 1.367 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/1.325, allocations: 96 / 1.367 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/1.325, allocations: 15.98 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/1.325, allocations: 0 / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/1.326, allocations: 11.94 kB / 1.367 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/1.326, allocations: 4 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.985e-05/1.326, allocations: 105.2 kB / 1.367 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/1.326, allocations: 3.938 kB / 1.367 GB, free: 1.789 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/1.326, allocations: 56.22 kB / 1.367 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/1.326, allocations: 0 / 1.367 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.326, allocations: 0 / 1.367 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.326, allocations: 0 / 1.367 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/1.326, allocations: 164.7 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/1.326, allocations: 0 / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/1.326, allocations: 8 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.326, allocations: 0 / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/1.326, allocations: 11.55 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.326, allocations: 4.031 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.326, allocations: 0 / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/1.326, allocations: 138.8 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/1.326, allocations: 77.11 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.326, allocations: 10.86 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/1.326, allocations: 4 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/1.326, allocations: 12.02 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/1.326, allocations: 0 / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.287e-05/1.326, allocations: 82.59 kB / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.326, allocations: 0 / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001983/1.327, allocations: 4 kB / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003891/1.327, allocations: 0.6755 MB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/1.327, allocations: 15.12 kB / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.327, allocations: 0 / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/1.327, allocations: 7 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/1.327, allocations: 0.6875 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/1.328, allocations: 94.39 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/1.328, allocations: 0.681 MB / 1.369 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.653e-05/1.328, allocations: 8 kB / 1.369 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/1.328, allocations: 11.12 kB / 1.369 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of SimCode: time 1.744e-06/1.328, allocations: 0 / 1.369 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/1.34, allocations: 1.017 MB / 1.37 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/1.341, allocations: 157.2 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.808, allocations: 2.812 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat does not exist to compare? outputFormat=mat