Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.487/2.487, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 184.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001081, allocations: 90.66 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.082e-05, allocations: 8 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8429, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/1.098, allocations: 136.7 MB / 1.097 GB, free: 3.773 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.099, allocations: 72.48 kB / 1.097 GB, free: 3.703 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002395/1.101, allocations: 0.6484 MB / 1.098 GB, free: 3.066 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/1.101, allocations: 0 / 1.098 GB, free: 3.066 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.703e-06/1.101, allocations: 0.5938 kB / 1.098 GB, free: 3.066 MB / 0.698 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.0004642/1.102, allocations: 343.1 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.102, allocations: 8.031 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/1.102, allocations: 1.984 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/1.102, allocations: 174.9 kB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.102, allocations: 0.5938 kB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/1.102, allocations: 0 / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.201e-05/1.102, allocations: 18.78 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.73e-05/1.102, allocations: 30.27 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.102, allocations: 0 / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.102, allocations: 3.406 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.102, allocations: 0.5938 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/1.103, allocations: 236 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/1.103, allocations: 23.11 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/1.103, allocations: 13.58 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/1.103, allocations: 4.938 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/1.103, allocations: 37.25 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.685e-06/1.103, allocations: 0.6562 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000192/1.103, allocations: 34.42 kB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/1.103, allocations: 55.94 kB / 1.099 GB, free: 1.961 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.103, allocations: 93.67 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/1.104, allocations: 25.7 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/1.104, allocations: 81.14 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/1.104, allocations: 7.906 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/1.104, allocations: 0.5312 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002175/1.104, allocations: 321.6 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/1.104, allocations: 0.8125 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/1.104, allocations: 8 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/1.104, allocations: 8.484 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.104, allocations: 5.25 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001623/1.104, allocations: 37.7 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.104, allocations: 8.781 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.104, allocations: 0.5 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.104, allocations: 0.625 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/1.105, allocations: 13.89 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.105, allocations: 0 / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/1.105, allocations: 17.33 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/1.105, allocations: 3.062 kB / 1.099 GB, free: 1.324 MB / 0.698 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 0.0001137/1.105, allocations: 108.7 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000159/1.105, allocations: 45.55 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/1.105, allocations: 4 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/1.105, allocations: 45.44 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.105, allocations: 3.438 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.105, allocations: 0 / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.105, allocations: 0 / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/1.106, allocations: 142.2 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.106, allocations: 0 / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/1.106, allocations: 8 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.106, allocations: 1.688 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/1.106, allocations: 4 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.106, allocations: 192 / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.527e-06/1.106, allocations: 9.984 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/1.106, allocations: 135.5 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/1.106, allocations: 85.11 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/1.106, allocations: 0 / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/1.107, allocations: 7.984 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/1.107, allocations: 5.781 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/1.107, allocations: 4.031 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.877e-05/1.107, allocations: 83.27 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.52e-07/1.107, allocations: 0 / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005174/1.107, allocations: 7.906 kB / 1.1 GB, free: 0.5547 MB / 0.698 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.0007637/1.108, allocations: 0.6722 MB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001223/1.108, allocations: 15.94 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.108, allocations: 4 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/1.108, allocations: 4 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/1.109, allocations: 2.75 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/1.109, allocations: 95.94 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/1.11, allocations: 0.6768 MB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.933e-05/1.11, allocations: 4.125 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/1.11, allocations: 11.44 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.11, allocations: 0 / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/1.145, allocations: 0.6891 MB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/1.145, allocations: 139.1 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.374, allocations: 4.031 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)