Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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.Atan,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.395/1.395, allocations: 287.4 MB / 302.6 MB, free: 8.234 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.0008407/0.0008407, allocations: 180.5 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.09/1.09, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006547/0.0006547, allocations: 108.6 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 14.12 kB / 0.8662 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1412, allocations: 115.3 MB / 0.9788 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.0005829/0.1418, allocations: 387 kB / 0.9791 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005571/0.1424, allocations: 0.8049 MB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1424, allocations: 0 / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.799e-06/0.1424, allocations: 0 / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.1425, allocations: 7.938 kB / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.946e-05/0.1426, allocations: 8 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.1426, allocations: 19.92 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.1427, allocations: 4 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.1428, allocations: 11.97 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.947e-05/0.1428, allocations: 7.938 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1428, allocations: 0 / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-06/0.1428, allocations: 0 / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-06/0.1428, allocations: 15.92 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.1429, allocations: 25.7 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.547e-05/0.1429, allocations: 19.97 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1429, allocations: 0 / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1429, allocations: 0 / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.1429, allocations: 0 / 0.98 GB, free: 26.75 MB / 0.6198 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.0002633/0.1432, allocations: 343.7 kB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1432, allocations: 8.031 kB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.086e-05/0.1432, allocations: 34.75 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.526e-05/0.1433, allocations: 8.938 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.236e-05/0.1433, allocations: 160.4 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.1433, allocations: 384 / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.1434, allocations: 8.312 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1435, allocations: 54.23 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1435, allocations: 3.938 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.1435, allocations: 0 / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1435, allocations: 0 / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1437, allocations: 47.95 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.1439, allocations: 248.9 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.144, allocations: 50.48 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.144, allocations: 24.91 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1441, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.055e-05/0.1441, allocations: 38.56 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.1441, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002652/0.1444, allocations: 101.6 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.395e-05/0.1444, allocations: 55.41 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.327e-05/0.1444, allocations: 101.8 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.1444, allocations: 25.7 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.731e-05/0.1445, allocations: 84.14 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/0.1445, allocations: 3.906 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.1445, allocations: 0 / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.014e-05/0.1445, allocations: 314.8 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.1446, allocations: 23.98 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.1446, allocations: 23.97 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1448, allocations: 48.89 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1448, allocations: 3.938 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001505/0.1449, allocations: 85.53 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/0.145, allocations: 8.031 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.145, allocations: 0 / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.145, allocations: 0 / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.145, allocations: 11.98 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.1451, allocations: 0 / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.1451, allocations: 8 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.1451, allocations: 0 / 0.9819 GB, free: 24.63 MB / 0.6198 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 3.465e-05/0.1451, allocations: 123.1 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.1452, allocations: 7.984 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.1454, allocations: 80.72 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1454, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.1454, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.1454, allocations: 4.219 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.583e-05/0.1455, allocations: 165.5 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1455, allocations: 0 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.1455, allocations: 15.97 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1455, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.1455, allocations: 11.94 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1455, allocations: 0 / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1456, allocations: 0 / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.1457, allocations: 175.4 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.1457, allocations: 81.05 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.1458, allocations: 3.984 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.1458, allocations: 12.03 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.1459, allocations: 4 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1459, allocations: 11.98 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.48e-05/0.1459, allocations: 75.28 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1459, allocations: 0 / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001685/0.1461, allocations: 4 kB / 0.9826 GB, free: 23.77 MB / 0.6198 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.00029/0.1464, allocations: 0.7046 MB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.1465, allocations: 55.92 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1465, allocations: 0 / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.1466, allocations: 23.98 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.1468, allocations: 128 / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.1471, allocations: 139.7 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.1472, allocations: 0.6808 MB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.1472, allocations: 4 kB / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.1472, allocations: 11.44 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1472, allocations: 0 / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1778/0.325, allocations: 0.9894 MB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/0.3252, allocations: 189.6 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.382/1.707, allocations: 4 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)