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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01054/0.01054, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.75/2.75, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 65.45 kB / 0.9509 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3755, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.002009/0.3775, allocations: 0.6626 MB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3786, allocations: 0.8121 MB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.3787, allocations: 0 / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3787, allocations: 3.938 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.3788, allocations: 0 / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.379, allocations: 11.92 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.959e-05/0.3791, allocations: 19.98 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3792, allocations: 12 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.3793, allocations: 16 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.3794, allocations: 4 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3794, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.3794, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.3794, allocations: 19.77 kB / 1.09 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.3795, allocations: 0 / 1.09 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.119e-05/0.3796, allocations: 23.91 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3796, allocations: 0 / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3796, allocations: 0 / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3796, allocations: 0 / 1.09 GB, free: 15.95 MB / 0.8575 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.0005166/0.3801, allocations: 339.5 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3802, allocations: 8.031 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3802, allocations: 8.844 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3804, allocations: 168.4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3804, allocations: 384 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3804, allocations: 384 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.3806, allocations: 50.23 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3806, allocations: 8.172 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3807, allocations: 3.938 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3807, allocations: 3.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.3808, allocations: 35.91 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3812, allocations: 244.9 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3813, allocations: 46.53 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.3814, allocations: 20.91 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3815, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3815, allocations: 34.56 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.404e-06/0.3815, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003466/0.3819, allocations: 85.67 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3819, allocations: 51.41 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.382, allocations: 101.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.382, allocations: 25.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.3821, allocations: 92.05 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.3821, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.3821, allocations: 13.66 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3823, allocations: 318.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/0.3824, allocations: 20.02 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.3824, allocations: 11.98 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3826, allocations: 44.77 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3826, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.3828, allocations: 77.56 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3828, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3828, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3828, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.3829, allocations: 11.98 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.383, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.383, allocations: 7.984 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.383, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.3831, allocations: 117.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.3831, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.3834, allocations: 72.72 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3834, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3834, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3834, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3836, allocations: 161.6 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3836, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.3836, allocations: 15.95 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3837, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3837, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3837, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3837, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.3839, allocations: 171.4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.384, allocations: 84.95 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.384, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.384, allocations: 7.984 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.3841, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/0.3841, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.3842, allocations: 83.45 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3842, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002037/0.3844, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.3845, allocations: 107.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3847, allocations: 31.97 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3847, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.3848, allocations: 23.92 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3851, allocations: 17.58 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.3854, allocations: 105.8 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3857, allocations: 0.6768 MB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.3857, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.3858, allocations: 7.438 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.3858, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.002643/0.3884, allocations: 453.3 kB / 1.093 GB, free: 11.63 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches