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.411/1.411, allocations: 252 MB / 267.3 MB, free: 10.85 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.001043/0.001043, allocations: 163.1 kB / 327 MB, free: 2.113 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.862/1.862, allocations: 205.4 MB / 0.578 GB, free: 20.4 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.001019/0.001019, allocations: 97 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 14.8 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001536/0.2273, allocations: 1.106 MB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.2277, allocations: 116.5 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.2278, allocations: 0 / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.2278, allocations: 0 / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.2279, allocations: 7.922 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.228, allocations: 12 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.2281, allocations: 23.92 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2282, allocations: 4 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.2283, allocations: 7.938 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.2284, allocations: 11.97 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2284, allocations: 0 / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.2284, allocations: 4 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2284, allocations: 7.875 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.2285, allocations: 33.69 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.696e-05/0.2285, allocations: 19.91 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.2286, allocations: 4 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2286, allocations: 4 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2286, allocations: 0 / 0.9023 GB, free: 62.35 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.0003639/0.2289, allocations: 331.6 kB / 0.9026 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.229, allocations: 8.031 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.229, allocations: 30.75 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.2291, allocations: 8.938 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.451e-05/0.2292, allocations: 172.6 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2292, allocations: 4.375 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.2292, allocations: 4.359 kB / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.2294, allocations: 54.19 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2294, allocations: 3.938 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2294, allocations: 4 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2294, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.2296, allocations: 47.95 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.2299, allocations: 248.8 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.23, allocations: 54.47 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2301, allocations: 28.91 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2302, allocations: 0 / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.2302, allocations: 38.56 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2302, allocations: 0 / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.2305, allocations: 93.64 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.2306, allocations: 55.53 kB / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.2306, allocations: 101.8 kB / 0.9035 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.2306, allocations: 25.7 kB / 0.9035 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.2307, allocations: 80.14 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.2307, allocations: 15.84 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.2307, allocations: 0 / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.2308, allocations: 310.8 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.2308, allocations: 23.97 kB / 0.9039 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.2309, allocations: 23.98 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2311, allocations: 48.89 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2311, allocations: 3.938 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001748/0.2313, allocations: 73.66 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2313, allocations: 8.031 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2313, allocations: 4 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2313, allocations: 0 / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.2314, allocations: 15.92 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2314, allocations: 0 / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.2315, allocations: 11.94 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.2315, allocations: 0 / 0.9041 GB, free: 60.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.2315, allocations: 121.8 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.2316, allocations: 7.906 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.2318, allocations: 76.78 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2318, allocations: 4 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2318, allocations: 0 / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2318, allocations: 4.031 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2319, allocations: 161.6 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2319, allocations: 3.984 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.232, allocations: 8 kB / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.232, allocations: 0 / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.232, allocations: 3.938 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.232, allocations: 3.938 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.232, allocations: 4 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.2323, allocations: 171.5 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.2323, allocations: 81.28 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.2323, allocations: 4 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.2324, allocations: 12.03 kB / 0.9047 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.2324, allocations: 7.969 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2325, allocations: 4 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.2325, allocations: 79.28 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2325, allocations: 0 / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001979/0.2327, allocations: 4 kB / 0.9048 GB, free: 59.38 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 (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.0004065/0.2331, allocations: 0.7123 MB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2333, allocations: 51.98 kB / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2333, allocations: 0 / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.2334, allocations: 23.98 kB / 0.9056 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2337, allocations: 6.703 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.2341, allocations: 142.3 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2342, allocations: 0.677 MB / 0.9064 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.2342, allocations: 0 / 0.9064 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.2343, allocations: 11.44 kB / 0.9064 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2343, allocations: 0 / 0.9064 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.2451, allocations: 1.012 MB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.2453, allocations: 226.7 kB / 0.9076 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.029, allocations: 0 / 0.9076 GB, free: 56.53 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)