Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.415/2.415, allocations: 390.5 MB / 398 MB, free: 10.88 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.001478/0.001478, allocations: 176.8 kB / 491.2 MB, free: 1.547 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.812/1.812, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 101.5 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.974e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.862/1.166, allocations: 148.9 MB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/1.166, allocations: 66.73 kB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002024/1.168, allocations: 0.6694 MB / 1.358 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.168, allocations: 0 / 1.358 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.461e-06/1.169, allocations: 0 / 1.358 GB, free: 33.25 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.0002629/1.169, allocations: 331.9 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/1.169, allocations: 7.688 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/1.169, allocations: 1.5 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/1.169, allocations: 167.5 kB / 1.359 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/1.169, allocations: 0 / 1.359 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/1.169, allocations: 4 kB / 1.359 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.153e-05/1.169, allocations: 13.61 kB / 1.359 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.901e-05/1.169, allocations: 41.41 kB / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.169, allocations: 1.406 kB / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/1.169, allocations: 0 / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/1.169, allocations: 0 / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/1.169, allocations: 251.5 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.698e-05/1.17, allocations: 26.81 kB / 1.359 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/1.17, allocations: 12.45 kB / 1.359 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/1.17, allocations: 3.938 kB / 1.359 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/1.17, allocations: 30.56 kB / 1.359 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.445e-06/1.17, allocations: 0 / 1.359 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001312/1.17, allocations: 45.69 kB / 1.359 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/1.17, allocations: 51.41 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.463e-05/1.17, allocations: 98.42 kB / 1.36 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/1.17, allocations: 25.7 kB / 1.36 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/1.17, allocations: 85.75 kB / 1.36 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/1.17, allocations: 7.656 kB / 1.36 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/1.17, allocations: 0 / 1.36 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/1.17, allocations: 316.3 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/1.17, allocations: 8 kB / 1.36 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/1.17, allocations: 8.922 kB / 1.36 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.619e-05/1.17, allocations: 0 / 1.36 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.17, allocations: 3.875 kB / 1.36 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.591e-05/1.17, allocations: 42.45 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.17, allocations: 7.328 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/1.17, allocations: 0 / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.17, allocations: 3.688 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/1.17, allocations: 14.61 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.17, allocations: 0 / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/1.17, allocations: 8.938 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/1.17, allocations: 1.125 kB / 1.36 GB, free: 31.68 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 5.818e-05/1.17, allocations: 108.8 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/1.17, allocations: 0 / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/1.171, allocations: 52.34 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.171, allocations: 4.031 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.171, allocations: 1.812 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/1.171, allocations: 0 / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.958e-05/1.171, allocations: 139.5 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.171, allocations: 0 / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/1.171, allocations: 18.53 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.171, allocations: 0 / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/1.171, allocations: 0 / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.171, allocations: 3.844 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.171, allocations: 0 / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.555e-05/1.171, allocations: 134.4 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/1.171, allocations: 84.91 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/1.171, allocations: 1.828 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/1.171, allocations: 5.266 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/1.171, allocations: 8.562 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/1.171, allocations: 2.938 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.739e-05/1.171, allocations: 88.62 kB / 1.361 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.171, allocations: 0 / 1.361 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002047/1.171, allocations: 3.938 kB / 1.361 GB, free: 31.05 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.0001121/1.171, allocations: 94.69 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.551e-05/1.171, allocations: 15.53 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.172, allocations: 0 / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/1.172, allocations: 10.47 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/1.172, allocations: 5.938 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/1.172, allocations: 62.22 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/1.172, allocations: 0.6804 MB / 1.361 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.329e-05/1.172, allocations: 0.6094 kB / 1.361 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/1.172, allocations: 7.438 kB / 1.361 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.172, allocations: 0 / 1.361 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of Templates: time 0.001984/1.174, allocations: 335.3 kB / 1.362 GB, free: 30.14 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches