Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.229/3.229, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 70.83 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 173.9 MB / 1.304 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002162/0.3489, allocations: 0.6634 MB / 1.305 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3501, allocations: 0.8083 MB / 1.305 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.3501, allocations: 3.938 kB / 1.305 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.3501, allocations: 0 / 1.305 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.3502, allocations: 11.92 kB / 1.305 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.3503, allocations: 8 kB / 1.305 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.987e-05/0.3504, allocations: 20 kB / 1.306 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3505, allocations: 11.98 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.3506, allocations: 4 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.3506, allocations: 15.92 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3507, allocations: 3.938 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-06/0.3507, allocations: 4 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.3507, allocations: 4 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.3507, allocations: 11.78 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.19e-05/0.3508, allocations: 32.11 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3508, allocations: 8 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3508, allocations: 0 / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3508, allocations: 3.984 kB / 1.306 GB, free: 15.9 MB / 1.014 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.0004702/0.3513, allocations: 327.5 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3513, allocations: 12.91 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3514, allocations: 38.75 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.3514, allocations: 0.9375 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3515, allocations: 160.4 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3515, allocations: 4.375 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.3515, allocations: 4.375 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3517, allocations: 50.23 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3517, allocations: 3.938 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3517, allocations: 3.938 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3517, allocations: 0 / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3519, allocations: 35.95 kB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.3522, allocations: 248.9 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3524, allocations: 38.5 kB / 1.306 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.3525, allocations: 24.89 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3525, allocations: 0 / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3525, allocations: 34.5 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3525, allocations: 4 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000346/0.3529, allocations: 81.64 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3529, allocations: 51.41 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.353, allocations: 101.8 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.353, allocations: 25.7 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.3531, allocations: 88.12 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.3531, allocations: 8.078 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.3531, allocations: 13.72 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3532, allocations: 314.8 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.3533, allocations: 11.98 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.3534, allocations: 31.84 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3536, allocations: 36.89 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.3536, allocations: 7.938 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.3538, allocations: 65.66 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3538, allocations: 6.031 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3538, allocations: 4 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3538, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.206e-05/0.3539, allocations: 7.984 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3539, allocations: 4.031 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.3539, allocations: 7.938 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3539, allocations: 3.938 kB / 1.307 GB, free: 13.84 MB / 1.014 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 8.603e-05/0.354, allocations: 121.8 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.354, allocations: 7.922 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.3543, allocations: 72.73 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3543, allocations: 4.031 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3543, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3543, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.3545, allocations: 157.6 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3545, allocations: 0 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.3545, allocations: 11.98 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3545, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3545, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3545, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3545, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3548, allocations: 171.4 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3548, allocations: 77.11 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3548, allocations: 0 / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3549, allocations: 7.984 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3549, allocations: 4 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.3549, allocations: 0 / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.355, allocations: 91.3 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 0 / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002133/0.3552, allocations: 4 kB / 1.308 GB, free: 13.02 MB / 1.014 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.0006299/0.3558, allocations: 0.6968 MB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.356, allocations: 35.95 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.356, allocations: 0 / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.3561, allocations: 23.92 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3564, allocations: 4 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.3569, allocations: 143.8 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3572, allocations: 0.6768 MB / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.3572, allocations: 3.938 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.3573, allocations: 15.44 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.3573, allocations: 0 / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3819, allocations: 1.288 MB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.404, allocations: 15.25 kB / 1.311 GB, free: 10.12 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.217989883385599]