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.458/2.458, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.002223/0.002223, allocations: 186.9 kB / 0.4902 GB, free: 2.234 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.597/1.597, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009504/0.0009503, allocations: 97.58 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004693, allocations: 11.5 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3068, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.5079, allocations: 149.6 MB / 1.375 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5083, allocations: 67.95 kB / 1.375 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001903/0.5102, allocations: 0.6696 MB / 1.376 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.629e-06/0.5102, allocations: 0 / 1.376 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.5103, allocations: 3.938 kB / 1.376 GB, free: 3.055 MB / 0.8698 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.0004088/0.5107, allocations: 336.1 kB / 1.376 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.5107, allocations: 8.562 kB / 1.376 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.5108, allocations: 34.5 kB / 1.377 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.5108, allocations: 11.91 kB / 1.377 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5109, allocations: 171 kB / 1.377 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.511, allocations: 4 kB / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.511, allocations: 0 / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.5112, allocations: 57.67 kB / 1.377 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5112, allocations: 0 / 1.377 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.5112, allocations: 0 / 1.377 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5112, allocations: 7.984 kB / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.5114, allocations: 43.91 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.5118, allocations: 248.9 kB / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.5119, allocations: 42.56 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.512, allocations: 0 / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.512, allocations: 34.62 kB / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.512, allocations: 0 / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003975/0.5124, allocations: 101.6 kB / 1.377 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.5124, allocations: 51.41 kB / 1.377 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.5125, allocations: 96.94 kB / 1.377 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.5125, allocations: 29.83 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.5126, allocations: 88.14 kB / 1.377 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.5126, allocations: 3.906 kB / 1.377 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.5126, allocations: 0 / 1.377 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5127, allocations: 310.8 kB / 1.378 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.5128, allocations: 23.98 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.5129, allocations: 23.97 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.585e-05/0.513, allocations: 23.98 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.513, allocations: 0 / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002175/0.5132, allocations: 81.66 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5133, allocations: 7.938 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5133, allocations: 0 / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5133, allocations: 0 / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.5134, allocations: 12 kB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5134, allocations: 4 kB / 1.378 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.5135, allocations: 15.92 kB / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5135, allocations: 3.953 kB / 1.378 GB, free: 0.9961 MB / 0.8698 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 () * Number of clocked 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 8.37e-05/0.5136, allocations: 113.8 kB / 1.378 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.5136, allocations: 3.938 kB / 1.378 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.5139, allocations: 88.7 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5139, allocations: 0 / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5139, allocations: 0 / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5139, allocations: 0 / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.5141, allocations: 161.6 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5141, allocations: 4 kB / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.5142, allocations: 11.98 kB / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5142, allocations: 0 / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.5142, allocations: 4.031 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5142, allocations: 0 / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5142, allocations: 0 / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.5145, allocations: 175.5 kB / 1.378 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.5145, allocations: 81.11 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.5146, allocations: 0 / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.5146, allocations: 7.984 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.5147, allocations: 4 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.5147, allocations: 0 / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.5148, allocations: 91.2 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5148, allocations: 0 / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002047/0.515, allocations: 4 kB / 1.379 GB, free: 168 kB / 0.8698 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 () * Number of clocked 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.0005886/0.5156, allocations: 0.7149 MB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.5158, allocations: 39.97 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5158, allocations: 0 / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.5159, allocations: 35.97 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.5161, allocations: 11.88 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.5166, allocations: 138.3 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.5168, allocations: 0.677 MB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.5169, allocations: 8.062 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.5169, allocations: 7.438 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.5169, allocations: 3.938 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.5285, allocations: 0.9885 MB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.5288, allocations: 182.8 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.071, allocations: 0 / 1.381 GB, free: 13.34 MB / 0.8855 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