Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 66.25 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.252, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001997/0.2541, allocations: 0.6674 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008561/0.2549, allocations: 0.8049 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.255, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.255, allocations: 3.938 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.2551, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.2552, allocations: 19.91 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.2553, allocations: 15.94 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.2554, allocations: 11.98 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.2555, allocations: 11.94 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.2555, allocations: 11.92 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2555, allocations: 4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.2556, allocations: 0 / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.2556, allocations: 4 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.2556, allocations: 11.94 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.631e-05/0.2557, allocations: 23.94 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2557, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2557, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2557, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 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.0004271/0.2561, allocations: 351.6 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2562, allocations: 8.031 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.2562, allocations: 30.75 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.2562, allocations: 0.9375 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2564, allocations: 168.3 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2564, allocations: 4.375 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.2564, allocations: 384 / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2566, allocations: 50.23 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2566, allocations: 11.88 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2566, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2566, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2568, allocations: 35.95 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.2571, allocations: 244.9 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.2572, allocations: 46.48 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.2573, allocations: 24.91 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2573, allocations: 0 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2574, allocations: 34.5 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.2574, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.2577, allocations: 85.64 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2578, allocations: 51.41 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.2578, allocations: 97.84 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.2579, allocations: 29.7 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.2579, allocations: 88.12 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.258, allocations: 3.906 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.258, allocations: 9.719 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2581, allocations: 323 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.2582, allocations: 11.98 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.2583, allocations: 23.91 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2584, allocations: 36.83 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2584, allocations: 3.938 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.2586, allocations: 69.72 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2587, allocations: 4.938 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2587, allocations: 0 / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2587, allocations: 0 / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.2588, allocations: 11.98 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2588, allocations: 0 / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.2588, allocations: 7.938 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.2588, allocations: 0 / 0.7868 GB, free: 9.703 MB / 0.6075 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 6.784e-05/0.2589, allocations: 125.7 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.2589, allocations: 4 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.2592, allocations: 64.78 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2592, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2592, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2592, allocations: 4 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.2594, allocations: 165.5 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2594, allocations: 4.031 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.2594, allocations: 11.92 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2595, allocations: 0 / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2595, allocations: 4 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2595, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2595, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.2597, allocations: 171.4 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.2598, allocations: 77.11 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2598, allocations: 7.984 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.2599, allocations: 4 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.2599, allocations: 7.984 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2599, allocations: 4 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.2599, allocations: 75.28 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2599, allocations: 0 / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002046/0.2602, allocations: 4 kB / 0.7875 GB, free: 8.879 MB / 0.6075 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.0005324/0.2607, allocations: 0.7007 MB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.2609, allocations: 39.98 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2609, allocations: 0 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.261, allocations: 19.98 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2613, allocations: 4 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.2617, allocations: 135 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2619, allocations: 0.6808 MB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.262, allocations: 3.938 kB / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.262, allocations: 15.44 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.262, allocations: 0 / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.2784, allocations: 1.248 MB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.817, allocations: 8.062 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)