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.Atan.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.Atan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",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.514/1.514, 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.001073/0.001074, allocations: 182 kB / 326.6 MB, free: 2.219 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.864/1.864, allocations: 205.4 MB / 0.5776 GB, free: 20.29 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.001087/0.001088, allocations: 92.33 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 12.62 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001419/0.2205, allocations: 1.09 MB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.2208, allocations: 124.6 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.2209, allocations: 4 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.2209, allocations: 0 / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.221, allocations: 0 / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.2211, allocations: 3.984 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.2212, allocations: 23.92 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.2213, allocations: 4 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.2213, allocations: 11.94 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.2214, allocations: 7.984 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2214, allocations: 4 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.2214, allocations: 0 / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.2214, allocations: 3.984 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.2215, allocations: 33.64 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.248e-05/0.2215, allocations: 11.97 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2215, allocations: 0 / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2215, allocations: 0 / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2216, allocations: 0 / 0.9016 GB, free: 62.44 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.0003618/0.2219, allocations: 343.3 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.222, allocations: 12.03 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.222, allocations: 34.55 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.222, allocations: 3.938 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.2221, allocations: 171.2 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.2221, allocations: 0 / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.2221, allocations: 0 / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2223, allocations: 57.67 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2223, allocations: 7.938 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2223, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2224, allocations: 4 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.2225, allocations: 43.95 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.2228, allocations: 252.9 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.2229, allocations: 38.56 kB / 0.9025 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.223, allocations: 36.91 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.2231, allocations: 3.984 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.2231, allocations: 34.5 kB / 0.9026 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2231, allocations: 0 / 0.9026 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003267/0.2234, allocations: 97.64 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.2235, allocations: 51.41 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.868e-05/0.2235, allocations: 101.8 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.2235, allocations: 25.7 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.2236, allocations: 84.14 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.2236, allocations: 8.031 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.2236, allocations: 0 / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.2237, allocations: 318.8 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.2237, allocations: 19.98 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.2238, allocations: 27.92 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.2239, allocations: 19.98 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2239, allocations: 0 / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.2241, allocations: 77.72 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2241, allocations: 8 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2241, allocations: 0 / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2242, allocations: 0 / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.2242, allocations: 11.98 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2243, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.2243, allocations: 15.92 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2243, allocations: 3.953 kB / 0.9035 GB, free: 60.34 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 5.442e-05/0.2244, allocations: 113.9 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.2244, allocations: 7.906 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.2246, allocations: 76.72 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2247, allocations: 8.031 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2247, allocations: 0 / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2247, allocations: 0 / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.2248, allocations: 161.6 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2248, allocations: 3.938 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.2249, allocations: 11.98 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2249, allocations: 192 / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2249, allocations: 4 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2249, allocations: 4 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2249, allocations: 4 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.2251, allocations: 175.4 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.2251, allocations: 77.11 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.2252, allocations: 4.031 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.2252, allocations: 11.98 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2253, allocations: 4 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.2253, allocations: 0 / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.2253, allocations: 79.28 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2253, allocations: 0 / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001953/0.2255, allocations: 4 kB / 0.9042 GB, free: 59.5 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.000401/0.2259, allocations: 0.7085 MB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.2261, allocations: 51.94 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2261, allocations: 0 / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.2262, allocations: 28.05 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.0002512/0.2265, allocations: 7.984 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.000346/0.2268, allocations: 138.2 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.227, allocations: 0.677 MB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.227, allocations: 0 / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.227, allocations: 11.44 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.227, allocations: 4.062 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.2382, allocations: 1.018 MB / 0.9067 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/0.2384, allocations: 201.4 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.805, 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.Atan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)