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.232/1.232, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0008731/0.000873, allocations: 174.6 kB / 325.9 MB, free: 2.715 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.273/1.273, allocations: 205 MB / 0.576 GB, free: 21.02 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.0006807/0.0006807, allocations: 88.34 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002647, allocations: 14.97 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1357, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001026/0.1368, allocations: 1.11 MB / 0.8973 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002267/0.137, allocations: 120.5 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.1371, allocations: 0 / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.1371, allocations: 4 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.1372, allocations: 3.984 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.606e-05/0.1373, allocations: 7.938 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.067e-05/0.1373, allocations: 19.98 kB / 0.8975 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.1374, allocations: 4.812 kB / 0.8975 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.1374, allocations: 15.92 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.1375, allocations: 15.92 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1375, allocations: 0 / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-06/0.1375, allocations: 0 / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.1375, allocations: 0 / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.1375, allocations: 11.94 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.668e-05/0.1376, allocations: 24.17 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1376, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1376, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.826e-06/0.1376, allocations: 0 / 0.8975 GB, free: 66.75 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.0002667/0.1379, allocations: 339.5 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1379, allocations: 12.03 kB / 0.8979 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.804e-05/0.1379, allocations: 30.75 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.735e-05/0.138, allocations: 0.9375 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.34e-05/0.138, allocations: 168.3 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.138, allocations: 4.375 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.138, allocations: 384 / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1382, allocations: 58.23 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.1382, allocations: 3.938 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.1382, allocations: 0 / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1382, allocations: 0 / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1384, allocations: 47.89 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.1386, allocations: 248.9 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.1387, allocations: 50.53 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.1387, allocations: 24.91 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1388, allocations: 7.984 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.1388, allocations: 38.5 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1388, allocations: 0 / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002761/0.1391, allocations: 93.64 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.466e-05/0.1391, allocations: 55.34 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.664e-05/0.1391, allocations: 105.8 kB / 0.8988 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/0.1391, allocations: 25.7 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.706e-05/0.1392, allocations: 80.14 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.1392, allocations: 15.97 kB / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.1392, allocations: 9.719 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.878e-05/0.1392, allocations: 314.8 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/0.1393, allocations: 23.97 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.1394, allocations: 19.98 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1395, allocations: 52.83 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1395, allocations: 3.938 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001655/0.1397, allocations: 77.66 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.1397, allocations: 4 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1397, allocations: 4 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.1397, allocations: 4.188 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.1398, allocations: 15.98 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1398, allocations: 0 / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.1399, allocations: 8.031 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1399, allocations: 4 kB / 0.8994 GB, free: 64.6 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 3.486e-05/0.1399, allocations: 113.8 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1399, allocations: 7.891 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.1401, allocations: 88.72 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1401, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1401, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1401, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.1402, allocations: 165.6 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1402, allocations: 0 / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.1403, allocations: 8 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1403, allocations: 4.031 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.1403, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1403, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1403, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1405, allocations: 183.4 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.1405, allocations: 81.09 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.1405, allocations: 0 / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1406, allocations: 11.94 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1406, allocations: 7.922 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.1406, allocations: 0 / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.1407, allocations: 83.28 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1407, allocations: 0 / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001805/0.1408, allocations: 8.031 kB / 0.9001 GB, free: 63.75 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.0003004/0.1411, allocations: 0.7134 MB / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1413, allocations: 51.95 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1413, allocations: 0 / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.1414, allocations: 24.08 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.1416, allocations: 0 / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.1419, allocations: 133 kB / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.142, allocations: 0.6809 MB / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.688e-05/0.142, allocations: 4.062 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.142, allocations: 7.438 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.142, allocations: 0 / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6236/0.7656, allocations: 1.027 MB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.7658, allocations: 219.6 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.691, allocations: 0 / 0.9029 GB, free: 60.91 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)