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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001086/0.001086, allocations: 180.9 kB / 487.4 MB, free: 5.012 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.554/1.554, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 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.0009278/0.0009278, allocations: 103.8 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.664e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.253, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9078/1.161, allocations: 148.1 MB / 1.351 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.161, allocations: 72.06 kB / 1.351 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002358/1.164, allocations: 0.6744 MB / 1.351 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.164, allocations: 0 / 1.351 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.233e-06/1.164, allocations: 0 / 1.351 GB, free: 33.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003409/1.164, allocations: 327.9 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.164, allocations: 11.38 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/1.164, allocations: 5.391 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/1.164, allocations: 171.9 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/1.164, allocations: 0.5625 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/1.164, allocations: 0 / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.711e-05/1.164, allocations: 11.97 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.992e-05/1.164, allocations: 36.97 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.164, allocations: 1.312 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.164, allocations: 1.188 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/1.164, allocations: 4.641 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/1.165, allocations: 249.1 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/1.165, allocations: 24.06 kB / 1.352 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/1.165, allocations: 8.766 kB / 1.352 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/1.165, allocations: 4.219 kB / 1.352 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/1.165, allocations: 35.84 kB / 1.352 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/1.165, allocations: 0 / 1.352 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/1.165, allocations: 44.25 kB / 1.352 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/1.165, allocations: 51.41 kB / 1.352 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/1.165, allocations: 90.64 kB / 1.352 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/1.165, allocations: 25.7 kB / 1.352 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/1.165, allocations: 84.83 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/1.165, allocations: 6.094 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/1.165, allocations: 0 / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.165, allocations: 321.3 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/1.165, allocations: 8.141 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/1.165, allocations: 2.625 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.836e-05/1.165, allocations: 6.938 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.165, allocations: 1.312 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.386e-05/1.165, allocations: 43.52 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.165, allocations: 5.797 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.166, allocations: 0 / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.166, allocations: 5.406 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/1.166, allocations: 10.64 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/1.166, allocations: 0.9844 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.69e-05/1.166, allocations: 9.75 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/1.166, allocations: 1.312 kB / 1.353 GB, free: 32.19 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 (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.672e-05/1.166, allocations: 106.7 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.112e-05/1.166, allocations: 48.36 kB / 1.353 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/1.166, allocations: 1.5 kB / 1.353 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/1.166, allocations: 48.39 kB / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.166, allocations: 5.297 kB / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.166, allocations: 1.891 kB / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.166, allocations: 0 / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/1.166, allocations: 141.7 kB / 1.353 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.166, allocations: 3.672 kB / 1.353 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/1.166, allocations: 10.64 kB / 1.353 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.166, allocations: 5.375 kB / 1.353 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/1.166, allocations: 0.7031 kB / 1.353 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.166, allocations: 0 / 1.353 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.166, allocations: 1.312 kB / 1.353 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/1.166, allocations: 139.3 kB / 1.353 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/1.166, allocations: 85.78 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/1.166, allocations: 1.281 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/1.167, allocations: 13.16 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/1.167, allocations: 6.562 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/1.167, allocations: 0 / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.935e-05/1.167, allocations: 83.38 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.167, allocations: 0 / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002058/1.167, allocations: 2.625 kB / 1.354 GB, free: 31.52 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 (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.0004252/1.167, allocations: 0.6744 MB / 1.354 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.656e-05/1.167, allocations: 12.16 kB / 1.354 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.167, allocations: 0 / 1.354 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/1.167, allocations: 13.31 kB / 1.354 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/1.168, allocations: 1.797 kB / 1.354 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/1.168, allocations: 91.75 kB / 1.354 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/1.168, allocations: 0.6785 MB / 1.355 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.43e-05/1.168, allocations: 1.312 kB / 1.355 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/1.168, allocations: 8.047 kB / 1.355 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.168, allocations: 1.312 kB / 1.355 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/1.186, allocations: 0.6958 MB / 1.356 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.186, allocations: 137.5 kB / 1.356 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/2.633, allocations: 4.625 kB / 1.356 GB, free: 29.8 MB / 0.8386 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