Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009633/0.0009632, allocations: 175 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 0.5776 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008829/0.0008826, allocations: 95.83 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.000385, allocations: 12.78 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2527, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001487/0.2542, allocations: 1.09 MB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002969/0.2546, allocations: 116.6 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.2546, allocations: 0 / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.2546, allocations: 3.938 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.2547, allocations: 4 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.2549, allocations: 11.92 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.2549, allocations: 23.94 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.255, allocations: 3.984 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.2551, allocations: 7.938 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.2551, allocations: 11.98 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.2552, allocations: 0 / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.2552, allocations: 0 / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.2552, allocations: 0 / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.2552, allocations: 33.64 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.223e-05/0.2553, allocations: 19.95 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2553, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2553, allocations: 4 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.2553, allocations: 0 / 0.9016 GB, free: 62.42 MB / 0.6042 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.0003578/0.2557, allocations: 331.4 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2557, allocations: 11.97 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.2558, allocations: 34.56 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.2558, allocations: 4 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.2559, allocations: 171.2 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.2559, allocations: 4 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2559, allocations: 4 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.2561, allocations: 53.67 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2561, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.2561, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2562, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.2563, allocations: 47.91 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.2566, allocations: 252.9 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.2567, allocations: 42.56 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.2568, allocations: 32.91 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2568, allocations: 0 / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.2569, allocations: 34.56 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.2569, allocations: 0 / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000339/0.2572, allocations: 101.6 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.2572, allocations: 55.41 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.2573, allocations: 105.9 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.2573, allocations: 25.7 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.2573, allocations: 84.14 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.2574, allocations: 7.906 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.2574, allocations: 0 / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.2574, allocations: 314.8 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.2575, allocations: 23.98 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.2576, allocations: 19.98 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.2577, allocations: 23.98 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2577, allocations: 3.938 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.2579, allocations: 81.66 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2579, allocations: 4 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2579, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2579, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.258, allocations: 11.98 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.258, allocations: 8.031 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.2581, allocations: 7.984 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.2581, allocations: 8.078 kB / 0.9035 GB, free: 60.32 MB / 0.6042 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 6.831e-05/0.2582, allocations: 113.8 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.2582, allocations: 3.906 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.2585, allocations: 88.7 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2585, allocations: 0 / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2585, allocations: 0 / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2585, allocations: 0 / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.2586, allocations: 161.6 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2586, allocations: 0 / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.2587, allocations: 12 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2587, allocations: 4.031 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2587, allocations: 0 / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2587, allocations: 0 / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2587, allocations: 3.984 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.2589, allocations: 171.5 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.259, allocations: 89.03 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.259, allocations: 0 / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.2591, allocations: 4 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.2591, allocations: 7.984 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2591, allocations: 0 / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.443e-05/0.2592, allocations: 83.28 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2592, allocations: 4.031 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002205/0.2594, allocations: 4 kB / 0.9042 GB, free: 59.49 MB / 0.6042 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.0004251/0.2598, allocations: 0.7064 MB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.26, allocations: 47.89 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.26, allocations: 4.094 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.236e-05/0.2601, allocations: 23.98 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.2604, allocations: 4 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.2608, allocations: 142.2 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2609, allocations: 0.681 MB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.2609, allocations: 3.938 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.2609, allocations: 11.44 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2609, allocations: 0 / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.2719, allocations: 1.01 MB / 0.9067 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.2721, allocations: 206.7 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.83, allocations: 0 / 0.9069 GB, free: 56.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)