Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 176.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 90.47 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.858e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1923, allocations: 106.3 MB / 0.8853 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6472/0.8396, allocations: 131.6 MB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.8398, allocations: 70.52 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001633/0.8414, allocations: 0.6724 MB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8415, allocations: 0 / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8415, allocations: 3.938 kB / 1.015 GB, free: 5.52 MB / 0.6355 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.0003096/0.8418, allocations: 330.2 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.8418, allocations: 16.02 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.8419, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.842, allocations: 171 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.842, allocations: 0 / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.842, allocations: 4 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.639e-05/0.8421, allocations: 7.812 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.336e-05/0.8421, allocations: 37.25 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.8422, allocations: 0 / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.8422, allocations: 0 / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8422, allocations: 4 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.8426, allocations: 256.1 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.8426, allocations: 22.58 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.8426, allocations: 12.86 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.8427, allocations: 0 / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.8427, allocations: 30.56 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.8427, allocations: 4 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.8428, allocations: 45.28 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.8429, allocations: 54.14 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.8429, allocations: 96.88 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.843, allocations: 25.7 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.843, allocations: 84.14 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.843, allocations: 7.891 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.843, allocations: 0 / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8431, allocations: 322.7 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.8431, allocations: 4 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.8432, allocations: 4 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.458e-05/0.8432, allocations: 3.625 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8432, allocations: 0.75 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.13e-05/0.8433, allocations: 41.64 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.8433, allocations: 4 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8433, allocations: 3.984 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8433, allocations: 4.094 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.8434, allocations: 8 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8434, allocations: 4 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.8435, allocations: 7.984 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.8435, allocations: 3.938 kB / 1.016 GB, free: 3.781 MB / 0.6355 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 7.292e-05/0.8436, allocations: 112.9 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.8436, allocations: 0 / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.106e-05/0.8437, allocations: 53.14 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.8437, allocations: 0 / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8437, allocations: 0 / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.8437, allocations: 0 / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.8439, allocations: 142.1 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8439, allocations: 3.953 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.8439, allocations: 8 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8439, allocations: 4 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.844, allocations: 0 / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.844, allocations: 4.031 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.844, allocations: 3.984 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.8441, allocations: 139.2 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.8441, allocations: 84.94 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.8441, allocations: 1.062 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.8442, allocations: 7.984 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.8442, allocations: 12.02 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.8443, allocations: 0 / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.8443, allocations: 83.27 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8443, allocations: 0 / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001895/0.8445, allocations: 4 kB / 1.017 GB, free: 3.059 MB / 0.6355 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.0001208/0.8446, allocations: 95.25 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.388e-05/0.8447, allocations: 11.81 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8447, allocations: 4.062 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.8447, allocations: 15.75 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.8449, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.8451, allocations: 62.77 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.8453, allocations: 0.6768 MB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.8454, allocations: 4 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.8454, allocations: 7.438 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.8454, allocations: 0 / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of Templates: time 0.0018/0.8472, allocations: 339.2 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches