Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 191.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.3 MB / 0.5489 GB, free: 13.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.77 kB / 0.6716 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 114.5 MB / 0.7835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002015/0.2479, allocations: 0.6518 MB / 0.7841 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.2487, allocations: 0.8127 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.2488, allocations: 3.938 kB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.2488, allocations: 0 / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.2489, allocations: 3.938 kB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.249, allocations: 11.98 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.2491, allocations: 27.86 kB / 0.785 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.2492, allocations: 4 kB / 0.785 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.2493, allocations: 11.98 kB / 0.785 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.2493, allocations: 7.922 kB / 0.785 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.2493, allocations: 8 kB / 0.785 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.2493, allocations: 0 / 0.785 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.2494, allocations: 8 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.2494, allocations: 11.92 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.223e-05/0.2495, allocations: 15.97 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2495, allocations: 0 / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2495, allocations: 3.938 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2495, allocations: 3.938 kB / 0.785 GB, free: 11.86 MB / 0.6075 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.0004132/0.2499, allocations: 343.7 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2499, allocations: 12.03 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.25, allocations: 38.73 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.25, allocations: 4.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2501, allocations: 160.4 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.2501, allocations: 384 / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2502, allocations: 4.359 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.2503, allocations: 50.19 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2503, allocations: 3.938 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2504, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2504, allocations: 8 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.2505, allocations: 31.95 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.2509, allocations: 248.8 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.251, allocations: 42.53 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.2511, allocations: 32.84 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2511, allocations: 0 / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2511, allocations: 30.56 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2511, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/0.2515, allocations: 81.64 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.2516, allocations: 55.53 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.2517, allocations: 101.8 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.2517, allocations: 29.7 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.2518, allocations: 80.14 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.2518, allocations: 3.906 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2519, allocations: 17.72 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.252, allocations: 314.8 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.2521, allocations: 19.97 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.2522, allocations: 19.98 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.2523, allocations: 32.83 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2523, allocations: 3.938 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.2525, allocations: 65.72 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2526, allocations: 8.031 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2526, allocations: 0 / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2526, allocations: 0 / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.2527, allocations: 15.92 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2527, allocations: 7.922 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.2528, allocations: 7.984 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.2528, allocations: 0 / 0.7868 GB, free: 9.789 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.2529, allocations: 117.8 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.2529, allocations: 4 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.2531, allocations: 64.78 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2532, allocations: 7.938 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2532, allocations: 0 / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2532, allocations: 0 / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2533, allocations: 173.4 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2533, allocations: 0 / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.2534, allocations: 4 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2534, allocations: 8.031 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.2534, allocations: 4.172 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2534, allocations: 4 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2534, allocations: 3.938 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.2537, allocations: 163.4 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.2537, allocations: 77.14 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2537, allocations: 4 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.2538, allocations: 8 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.2538, allocations: 3.984 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.2539, allocations: 4 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.883e-05/0.2539, allocations: 75.28 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2539, allocations: 4 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000199/0.2541, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004988/0.2546, allocations: 0.7007 MB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.2548, allocations: 35.95 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.2548, allocations: 4.094 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.2549, allocations: 19.98 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.2552, allocations: 8.875 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.2556, allocations: 147 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.2558, allocations: 0.6729 MB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.2558, allocations: 4.062 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.2559, allocations: 15.42 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of SimCode: time 1.833e-06/0.2559, allocations: 0 / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.2726, allocations: 1.231 MB / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.896, allocations: 11.12 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)