Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.0009734/0.0009735, allocations: 168.9 kB / 492.3 MB, free: 0.6445 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.528/1.528, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.001056/0.001056, allocations: 94.02 kB / 0.9267 GB, free: 14.06 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.374e-05, allocations: 11.98 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3545, allocations: 142.3 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.566, allocations: 148.8 MB / 1.358 GB, free: 19.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/1.566, allocations: 67.8 kB / 1.358 GB, free: 19.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002449/1.568, allocations: 0.6755 MB / 1.359 GB, free: 34.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/1.568, allocations: 4 kB / 1.359 GB, free: 34.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.568, allocations: 0 / 1.359 GB, free: 34.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003115/1.569, allocations: 329.6 kB / 1.359 GB, free: 34.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.569, allocations: 12.02 kB / 1.359 GB, free: 34.49 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/1.569, allocations: 35.2 kB / 1.359 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/1.569, allocations: 0.7812 kB / 1.359 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/1.569, allocations: 172 kB / 1.359 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/1.569, allocations: 4 kB / 1.359 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/1.569, allocations: 0 / 1.359 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/1.569, allocations: 39.25 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/1.569, allocations: 1.312 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/1.569, allocations: 0 / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.569, allocations: 0 / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.394e-05/1.569, allocations: 10.52 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/1.57, allocations: 254.7 kB / 1.359 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.893e-05/1.57, allocations: 29.2 kB / 1.359 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/1.57, allocations: 11.66 kB / 1.359 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/1.57, allocations: 3.344 kB / 1.359 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/1.57, allocations: 31.36 kB / 1.359 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/1.57, allocations: 0 / 1.359 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.00016/1.57, allocations: 44.25 kB / 1.359 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/1.57, allocations: 59.38 kB / 1.36 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/1.57, allocations: 91.89 kB / 1.36 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/1.57, allocations: 26.5 kB / 1.36 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/1.57, allocations: 87.36 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/1.57, allocations: 4.703 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/1.57, allocations: 0 / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/1.57, allocations: 316.4 kB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/1.57, allocations: 6.75 kB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/1.57, allocations: 7.312 kB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/1.57, allocations: 9.422 kB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.57, allocations: 0 / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.24e-05/1.57, allocations: 40.23 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.57, allocations: 6.688 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.57, allocations: 3.938 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.57, allocations: 0.7969 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/1.571, allocations: 13.84 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.571, allocations: 4.797 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/1.571, allocations: 7.844 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/1.571, allocations: 4.141 kB / 1.36 GB, free: 33.19 MB / 0.8386 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.696e-05/1.571, allocations: 106 kB / 1.36 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/1.571, allocations: 3.906 kB / 1.36 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/1.571, allocations: 48.53 kB / 1.36 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/1.571, allocations: 0.7969 kB / 1.36 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.571, allocations: 8.766 kB / 1.36 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/1.571, allocations: 0 / 1.36 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/1.571, allocations: 161.7 kB / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.571, allocations: 0.7969 kB / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/1.571, allocations: 19.5 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.571, allocations: 3.984 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.571, allocations: 0.7969 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.571, allocations: 0 / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.571, allocations: 0 / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/1.571, allocations: 146.1 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/1.571, allocations: 78.42 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/1.571, allocations: 0 / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/1.571, allocations: 12.92 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/1.571, allocations: 5.062 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/1.571, allocations: 0 / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.547e-05/1.571, allocations: 87.92 kB / 1.361 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.572, allocations: 0 / 1.361 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002041/1.572, allocations: 3.75 kB / 1.361 GB, free: 32.53 MB / 0.8386 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.0003529/1.572, allocations: 0.677 MB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.487e-05/1.572, allocations: 18.95 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.572, allocations: 0 / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/1.572, allocations: 7.531 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/1.572, allocations: 8.125 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/1.573, allocations: 93.83 kB / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/1.573, allocations: 0.6808 MB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.471e-05/1.573, allocations: 0 / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/1.573, allocations: 8.266 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.573, allocations: 4 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/1.585, allocations: 1 MB / 1.363 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.585, allocations: 158.1 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/3.198, allocations: 4 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat does not exist to compare? outputFormat=mat