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.524/1.524, allocations: 249.3 MB / 261.8 MB, free: 5.852 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.0009998/0.0009996, allocations: 186.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.000889/0.000889, allocations: 86.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.384e-05, allocations: 8 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7105/0.9175, allocations: 131.3 MB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.9178, allocations: 70.83 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001792/0.9196, allocations: 0.6852 MB / 1.021 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9196, allocations: 0 / 1.021 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.9197, allocations: 0 / 1.021 GB, free: 2.719 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.0003576/0.92, allocations: 334.5 kB / 1.021 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.9201, allocations: 12.03 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.9201, allocations: 0 / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.9202, allocations: 163 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.9203, allocations: 4 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.9203, allocations: 3.375 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.9204, allocations: 37.31 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.9204, allocations: 0 / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.9204, allocations: 0 / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.9204, allocations: 8 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.9205, allocations: 10.81 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.9209, allocations: 268 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.643e-05/0.921, allocations: 26.52 kB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.921, allocations: 16.42 kB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.921, allocations: 0 / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.9211, allocations: 31.19 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.9211, allocations: 0 / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.9212, allocations: 44.8 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.9213, allocations: 58.14 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.9213, allocations: 96.67 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.9214, allocations: 25.7 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.9214, allocations: 84.17 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.9214, allocations: 3.906 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.9214, allocations: 7.812 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9215, allocations: 318.8 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.9216, allocations: 0 / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.134e-05/0.9216, allocations: 7.312 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.059e-05/0.9216, allocations: 7.984 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9216, allocations: 0 / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.712e-05/0.9217, allocations: 48.77 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.9217, allocations: 4 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.9217, allocations: 0 / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.9217, allocations: 0 / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.9219, allocations: 15.55 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9219, allocations: 0 / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.9219, allocations: 13.86 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.9219, allocations: 0 / 1.022 GB, free: 0.9414 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 9.016e-05/0.922, allocations: 109 kB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.9221, allocations: 4 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.9222, allocations: 55.27 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9222, allocations: 0 / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9222, allocations: 0 / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.9222, allocations: 192 / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.9224, allocations: 165.1 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9224, allocations: 0 / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.9225, allocations: 16.02 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.9225, allocations: 3.984 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.9225, allocations: 0 / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.9225, allocations: 0 / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9225, allocations: 0 / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.9226, allocations: 146.3 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.9227, allocations: 81.11 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.9227, allocations: 4.031 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.9228, allocations: 14.58 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.9229, allocations: 0 / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.9229, allocations: 4 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.9229, allocations: 82.34 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9229, allocations: 0 / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001873/0.9231, allocations: 4 kB / 1.023 GB, free: 196 kB / 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.0001472/0.9233, allocations: 107.2 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.789e-05/0.9234, allocations: 11.38 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9234, allocations: 0 / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.309e-05/0.9234, allocations: 11.44 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.9236, allocations: 7.891 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.9238, allocations: 61.84 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.9241, allocations: 0.6811 MB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.9242, allocations: 7.938 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.9242, allocations: 7.438 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of SimCode: time 3.226e-06/0.9242, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.002099/0.9263, allocations: 371.4 kB / 1.024 GB, free: 14.91 MB / 0.6511 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