Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.001212/0.001212, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001443/0.001443, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.068/2.068, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.618/3.618, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007396/0.0007399, allocations: 12 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.029, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001091/1.031, allocations: 430.4 kB / 0.9813 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001094/1.032, allocations: 0.822 MB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/1.032, allocations: 0 / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/1.032, allocations: 0 / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/1.032, allocations: 11.91 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/1.032, allocations: 12 kB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.335e-05/1.032, allocations: 23.97 kB / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/1.032, allocations: 11.98 kB / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/1.032, allocations: 19.91 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/1.032, allocations: 23.86 kB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/1.032, allocations: 0 / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/1.032, allocations: 4 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/1.032, allocations: 3.938 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/1.032, allocations: 33.64 kB / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.777e-05/1.033, allocations: 27.92 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/1.033, allocations: 0 / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/1.033, allocations: 4 kB / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.339e-06/1.033, allocations: 0 / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005331/1.033, allocations: 365.5 kB / 0.9826 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.033, allocations: 8.031 kB / 0.9826 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/1.033, allocations: 34.56 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/1.033, allocations: 11.91 kB / 0.9827 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.033, allocations: 163.1 kB / 0.9828 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/1.033, allocations: 4 kB / 0.9828 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/1.033, allocations: 0 / 0.9828 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/1.034, allocations: 85.61 kB / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.034, allocations: 4 kB / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.034, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.034, allocations: 0 / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/1.034, allocations: 91.86 kB / 0.983 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/1.034, allocations: 268.9 kB / 0.9833 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/1.035, allocations: 66.5 kB / 0.9833 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/1.035, allocations: 8.078 kB / 0.9833 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/1.035, allocations: 34.56 kB / 0.9834 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.035, allocations: 3.938 kB / 0.9834 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005595/1.035, allocations: 157.6 kB / 0.9835 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.035, allocations: 51.41 kB / 0.9836 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/1.035, allocations: 113.8 kB / 0.9837 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/1.036, allocations: 25.7 kB / 0.9837 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/1.036, allocations: 88.12 kB / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/1.036, allocations: 15.75 kB / 0.9838 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/1.036, allocations: 0 / 0.9838 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.036, allocations: 318.8 kB / 0.9841 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.036, allocations: 43.95 kB / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/1.036, allocations: 43.97 kB / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/1.036, allocations: 43.89 kB / 0.9842 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.036, allocations: 3.938 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003373/1.037, allocations: 121.6 kB / 0.9843 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.037, allocations: 12 kB / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.037, allocations: 0 / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/1.037, allocations: 336 / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/1.037, allocations: 19.98 kB / 0.9844 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/1.037, allocations: 0 / 0.9844 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/1.037, allocations: 19.98 kB / 0.9844 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1.037, allocations: 7.922 kB / 0.9844 GB, free: 2.418 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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 0.0001626/1.037, allocations: 113.8 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/1.037, allocations: 7.859 kB / 0.9845 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/1.038, allocations: 133.4 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.038, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.038, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.038, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/1.038, allocations: 165.7 kB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.038, allocations: 0 / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/1.038, allocations: 27.97 kB / 0.9848 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.038, allocations: 0 / 0.9848 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.038, allocations: 3.953 kB / 0.9848 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.038, allocations: 0 / 0.9848 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.038, allocations: 0 / 0.9848 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/1.038, allocations: 215.4 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/1.038, allocations: 93 kB / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/1.038, allocations: 0 / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/1.038, allocations: 19.94 kB / 0.9851 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/1.039, allocations: 4 kB / 0.9851 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/1.039, allocations: 7.984 kB / 0.9852 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.637e-05/1.039, allocations: 83.28 kB / 0.9852 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.039, allocations: 0 / 0.9852 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002158/1.039, allocations: 8 kB / 0.9852 GB, free: 1.449 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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.0007133/1.04, allocations: 0.7476 MB / 0.986 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003442/1.04, allocations: 91.86 kB / 0.9861 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.04, allocations: 0 / 0.9861 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/1.04, allocations: 51.95 kB / 0.9861 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/1.04, allocations: 13.44 kB / 0.9861 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/1.041, allocations: 168.2 kB / 0.9863 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/1.041, allocations: 0.6887 MB / 0.987 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.044e-05/1.041, allocations: 4 kB / 0.987 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/1.041, allocations: 11.44 kB / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/1.041, allocations: 0 / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08507/1.126, allocations: 1.289 MB / 0.9882 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/1.127, allocations: 186.5 kB / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.384, allocations: 0 / 0.9884 GB, free: 14.2 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat does not exist to compare? outputFormat=mat