Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 180.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.813/1.813, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 99.52 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.61e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2814, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8887/1.17, allocations: 148.1 MB / 1.351 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/1.17, allocations: 65.67 kB / 1.351 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003335/1.174, allocations: 0.8978 MB / 1.352 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/1.174, allocations: 1.25 kB / 1.352 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.174, allocations: 0.75 kB / 1.352 GB, free: 33.77 MB / 0.8386 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.0004462/1.174, allocations: 372.2 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.174, allocations: 10.5 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/1.174, allocations: 5.25 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.174, allocations: 167.1 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/1.175, allocations: 1.25 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.175, allocations: 1.312 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.747e-05/1.175, allocations: 17.69 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.533e-05/1.175, allocations: 43.91 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/1.175, allocations: 1.281 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/1.175, allocations: 0 / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.175, allocations: 4 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/1.175, allocations: 284.5 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/1.175, allocations: 35.08 kB / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/1.175, allocations: 17.67 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/1.175, allocations: 0.6562 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/1.175, allocations: 32.36 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/1.175, allocations: 0 / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001849/1.176, allocations: 56.08 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/1.176, allocations: 52.75 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/1.176, allocations: 97.64 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/1.176, allocations: 29.7 kB / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/1.176, allocations: 86.41 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/1.176, allocations: 13.81 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/1.176, allocations: 1.281 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.176, allocations: 321.2 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/1.176, allocations: 7.094 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/1.176, allocations: 8.859 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/1.176, allocations: 9.141 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.176, allocations: 5.219 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.562e-05/1.176, allocations: 48.48 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.176, allocations: 5.922 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.176, allocations: 0 / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.176, allocations: 1.312 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/1.176, allocations: 23.92 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/1.176, allocations: 1.344 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.363e-05/1.177, allocations: 20.33 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.177, allocations: 1.344 kB / 1.353 GB, free: 32.18 MB / 0.8386 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 () * 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 6.431e-05/1.177, allocations: 105.5 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.591e-05/1.177, allocations: 54.7 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/1.177, allocations: 3.281 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/1.177, allocations: 62.22 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.177, allocations: 2.734 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.177, allocations: 0.7969 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.177, allocations: 4 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/1.177, allocations: 152.7 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.177, allocations: 1.281 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.177, allocations: 20.77 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.177, allocations: 0.6562 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.177, allocations: 0 / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.177, allocations: 5.156 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.177, allocations: 0.6094 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/1.177, allocations: 153.3 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/1.177, allocations: 79.09 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/1.177, allocations: 2.312 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/1.178, allocations: 20.28 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/1.178, allocations: 7.594 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/1.178, allocations: 4 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.471e-05/1.178, allocations: 86.2 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.333e-06/1.178, allocations: 0 / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002107/1.178, allocations: 9.188 kB / 1.354 GB, free: 31.5 MB / 0.8386 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 () * 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.0004997/1.178, allocations: 0.6836 MB / 1.355 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000111/1.179, allocations: 27.62 kB / 1.355 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.179, allocations: 0 / 1.355 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.542e-05/1.179, allocations: 15.56 kB / 1.355 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/1.179, allocations: 6.562 kB / 1.355 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/1.179, allocations: 99.78 kB / 1.355 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/1.18, allocations: 0.6822 MB / 1.356 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.684e-05/1.18, allocations: 8.5 kB / 1.356 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/1.18, allocations: 15.08 kB / 1.356 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.18, allocations: 0 / 1.356 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/1.201, allocations: 0.9576 MB / 1.357 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.201, allocations: 145.5 kB / 1.357 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.773, allocations: 0 / 1.357 GB, free: 29.77 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat does not exist to compare? outputFormat=mat