Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_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.0009102/0.0009104, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8055, allocations: 142.3 MB / 0.9539 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.000985/0.8065, allocations: 394.9 kB / 0.9543 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.8074, allocations: 0.7914 MB / 0.955 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.8074, allocations: 3.938 kB / 0.955 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.8075, allocations: 5.516 kB / 0.955 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.8075, allocations: 0 / 0.955 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.8077, allocations: 6.438 kB / 0.955 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.8077, allocations: 18.92 kB / 0.9551 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.8078, allocations: 6.969 kB / 0.9551 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.8079, allocations: 14.83 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.808, allocations: 2.969 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.808, allocations: 1.469 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.808, allocations: 0 / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.808, allocations: 9.391 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.8081, allocations: 31.08 kB / 0.9551 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.782e-05/0.8081, allocations: 14.92 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8081, allocations: 0 / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8081, allocations: 0 / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.8081, allocations: 1.5 kB / 0.9551 GB, free: 7.121 MB / 0.7169 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.0004295/0.8086, allocations: 345.5 kB / 0.9555 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.8086, allocations: 8.594 kB / 0.9555 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.8087, allocations: 31.16 kB / 0.9555 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.8087, allocations: 6.234 kB / 0.9555 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/0.8088, allocations: 160.2 kB / 0.9557 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.8088, allocations: 1.219 kB / 0.9557 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.8088, allocations: 4.906 kB / 0.9557 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.809, allocations: 57.33 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8091, allocations: 7.922 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.8091, allocations: 5.125 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8091, allocations: 0 / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.8092, allocations: 51.75 kB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.8096, allocations: 241.5 kB / 0.956 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.8097, allocations: 40.31 kB / 0.9561 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.8098, allocations: 34.67 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.8098, allocations: 1.438 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.8099, allocations: 35.94 kB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8099, allocations: 0 / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003633/0.8102, allocations: 106.3 kB / 0.9562 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.8103, allocations: 52.66 kB / 0.9563 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.8103, allocations: 98.61 kB / 0.9564 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.8104, allocations: 25.83 kB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.8104, allocations: 89.31 kB / 0.9565 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.8104, allocations: 9.156 kB / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.8105, allocations: 0 / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.8105, allocations: 316.2 kB / 0.9568 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.8106, allocations: 17.58 kB / 0.9568 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.8107, allocations: 30.45 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.8108, allocations: 22.19 kB / 0.9569 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8108, allocations: 0 / 0.9569 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.811, allocations: 73.36 kB / 0.9569 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.811, allocations: 5.375 kB / 0.9569 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.811, allocations: 0.9062 kB / 0.9569 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.811, allocations: 7.938 kB / 0.9569 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.8111, allocations: 8.906 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8111, allocations: 0 / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.8112, allocations: 14.27 kB / 0.957 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.8112, allocations: 0.75 kB / 0.957 GB, free: 5.289 MB / 0.7169 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 6.364e-05/0.8113, allocations: 111.8 kB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.8113, allocations: 0.8125 kB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.8115, allocations: 88.56 kB / 0.9572 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8115, allocations: 0 / 0.9572 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8116, allocations: 9.312 kB / 0.9572 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.8116, allocations: 0 / 0.9572 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.8117, allocations: 158.2 kB / 0.9573 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8117, allocations: 0 / 0.9573 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.8118, allocations: 12.05 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8118, allocations: 1.188 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.8118, allocations: 7.969 kB / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8118, allocations: 1.156 kB / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8118, allocations: 0 / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.8121, allocations: 184.5 kB / 0.9575 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.8121, allocations: 78.39 kB / 0.9576 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.8121, allocations: 4 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.8122, allocations: 10.17 kB / 0.9576 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.8122, allocations: 2.094 kB / 0.9576 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.8122, allocations: 0 / 0.9576 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.8123, allocations: 86.28 kB / 0.9577 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8123, allocations: 0.9375 kB / 0.9577 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002069/0.8125, allocations: 6.906 kB / 0.9577 GB, free: 4.539 MB / 0.7169 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.0004235/0.8129, allocations: 0.7015 MB / 0.9584 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.8131, allocations: 47.12 kB / 0.9584 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8131, allocations: 0 / 0.9584 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.8132, allocations: 32.47 kB / 0.9585 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.8135, allocations: 2.25 kB / 0.9585 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.8139, allocations: 129.9 kB / 0.9586 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.814, allocations: 0.674 MB / 0.9592 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.814, allocations: 13.2 kB / 0.9593 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.8141, allocations: 11.44 kB / 0.9593 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of SimCode: time 1.403e-06/0.8141, allocations: 1.125 kB / 0.9593 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.8248, allocations: 1.011 MB / 0.9603 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.825, allocations: 191.5 kB / 0.9604 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.536, allocations: 3.938 kB / 0.9604 GB, free: 2.246 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat does not exist to compare? outputFormat=mat