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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.203/2.203, 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.001017/0.001017, allocations: 176.9 kB / 487.4 MB, free: 5.043 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.508/1.508, allocations: 221.5 MB / 0.7824 GB, free: 1.047 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.0009825/0.0009826, allocations: 99.84 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.771e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2997, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.333, allocations: 148.1 MB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.333, allocations: 68.91 kB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002403/1.335, allocations: 0.6663 MB / 1.351 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.335, allocations: 0.8125 kB / 1.351 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.335, allocations: 3.781 kB / 1.351 GB, free: 34.09 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.0003167/1.336, allocations: 333.5 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.336, allocations: 8.344 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/1.336, allocations: 4.531 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/1.336, allocations: 169 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.336, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/1.336, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.26e-05/1.336, allocations: 15.06 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.023e-05/1.336, allocations: 43.48 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.336, allocations: 0 / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/1.336, allocations: 0 / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.336, allocations: 0 / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/1.337, allocations: 248.1 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/1.337, allocations: 30.67 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/1.337, allocations: 9.359 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/1.337, allocations: 0 / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.337, allocations: 38.3 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/1.337, allocations: 0 / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/1.337, allocations: 38.67 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/1.337, allocations: 51.41 kB / 1.352 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/1.337, allocations: 97.92 kB / 1.352 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/1.337, allocations: 26.45 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/1.337, allocations: 84.34 kB / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/1.337, allocations: 3.906 kB / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.337, allocations: 0 / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.337, allocations: 316 kB / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/1.337, allocations: 7.031 kB / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/1.337, allocations: 3.906 kB / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/1.337, allocations: 13.59 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.337, allocations: 0 / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.347e-05/1.337, allocations: 43.03 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.337, allocations: 4.391 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.337, allocations: 3.906 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.337, allocations: 0 / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/1.337, allocations: 13.39 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/1.337, allocations: 0.6094 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/1.338, allocations: 14.06 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/1.338, allocations: 0 / 1.353 GB, free: 32.52 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.376e-05/1.338, allocations: 105.5 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/1.338, allocations: 3.906 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/1.338, allocations: 48.48 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/1.338, allocations: 3.938 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.338, allocations: 0 / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/1.338, allocations: 1.312 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/1.338, allocations: 138.6 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.338, allocations: 4.609 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/1.338, allocations: 10.31 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.338, allocations: 192 / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/1.338, allocations: 4.406 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/1.338, allocations: 0 / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.338, allocations: 0 / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/1.338, allocations: 141.3 kB / 1.353 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/1.338, allocations: 85.59 kB / 1.353 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/1.338, allocations: 0.6094 kB / 1.353 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/1.338, allocations: 10.03 kB / 1.353 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/1.338, allocations: 9.297 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/1.338, allocations: 3.062 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.525e-05/1.338, allocations: 83.73 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.338, allocations: 0 / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001922/1.339, allocations: 7.906 kB / 1.354 GB, free: 31.88 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.0001331/1.339, allocations: 99.94 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.824e-05/1.339, allocations: 11.91 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.339, allocations: 3.844 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/1.339, allocations: 3.906 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/1.339, allocations: 1.891 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/1.339, allocations: 63.27 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/1.339, allocations: 0.6804 MB / 1.354 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.369e-05/1.339, allocations: 0 / 1.354 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/1.34, allocations: 7.438 kB / 1.354 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.34, allocations: 0 / 1.354 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.002031/1.342, allocations: 333 kB / 1.355 GB, free: 30.97 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches