Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002909/0.002909, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.91/2.91, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0.875 kB / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.292e-05, allocations: 7.562 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001896/0.001929, allocations: 0.672 MB / 0.8115 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003191, allocations: 0.8393 MB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.003223, allocations: 5.562 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.003259, allocations: 0 / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.718e-05/0.003326, allocations: 7.922 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.003497, allocations: 15.92 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.131e-05/0.003568, allocations: 24.58 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.00365, allocations: 4.688 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.003727, allocations: 11.98 kB / 0.8124 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.003771, allocations: 12.88 kB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003787, allocations: 0 / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.003829, allocations: 4 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.003847, allocations: 8.781 kB / 0.8124 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.003873, allocations: 8 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.003983, allocations: 30.31 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003986, allocations: 0 / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003986, allocations: 3.938 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003989, allocations: 0 / 0.8125 GB, free: 380 kB / 0.7605 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.0004788/0.004468, allocations: 258.4 kB / 0.8127 GB, free: 88 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.004506, allocations: 12.02 kB / 0.8127 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.004613, allocations: 14.17 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.004742, allocations: 101.8 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.004757, allocations: 4.312 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.004765, allocations: 5.969 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.004951, allocations: 50.23 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.00496, allocations: 192 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004968, allocations: 384 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.004972, allocations: 1.031 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.005182, allocations: 41.73 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.005508, allocations: 188.6 kB / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.005653, allocations: 39.03 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.005749, allocations: 22.27 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.005769, allocations: 0 / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.005805, allocations: 34.56 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.005808, allocations: 5.141 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004244/0.006232, allocations: 90.66 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.006282, allocations: 55.34 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.006381, allocations: 98.92 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.006401, allocations: 25.7 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.006467, allocations: 84.14 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.006489, allocations: 12.81 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.006524, allocations: 9.719 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.006709, allocations: 316.1 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.006802, allocations: 15.98 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.006877, allocations: 13.3 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.007067, allocations: 42.38 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007069, allocations: 0 / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002276/0.007296, allocations: 76.38 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007309, allocations: 4 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.007317, allocations: 3.938 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.007338, allocations: 4 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.007427, allocations: 7.938 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.007435, allocations: 3.984 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.007485, allocations: 4.5 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.00749, allocations: 0.5312 kB / 0.8141 GB, free: 14.6 MB / 0.7761 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 9.498e-05/0.007585, allocations: 111.8 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.007609, allocations: 0 / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.007863, allocations: 80.89 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007865, allocations: 1.688 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.007871, allocations: 0 / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.007874, allocations: 0 / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.008059, allocations: 105.3 kB / 0.8143 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.008063, allocations: 4 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.008133, allocations: 16.83 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008135, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.008141, allocations: 0.5312 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.008145, allocations: 4.781 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008146, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.008431, allocations: 161.6 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.008441, allocations: 7.938 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.008456, allocations: 7.984 kB / 0.8145 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.008542, allocations: 8.781 kB / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.008579, allocations: 3.984 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.008582, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.008637, allocations: 82.12 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008637, allocations: 0 / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002471/0.008884, allocations: 4 kB / 0.8146 GB, free: 13.96 MB / 0.7761 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.0001262/0.00901, allocations: 100.3 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.009233, allocations: 42.64 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009235, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.009333, allocations: 15.98 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.009606, allocations: 4 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.009932, allocations: 113.7 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.07e-05/0.01, allocations: 63.2 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.01002, allocations: 1.094 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.01005, allocations: 20.38 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01005, allocations: 1.062 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of Templates: time 0.002858/0.01291, allocations: 476 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.851720472914167]