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.001679/0.001679, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002075/0.002075, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.208/3.208, allocations: 0.49 GB / 0.7959 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 66.67 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4061, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002044/0.4082, allocations: 0.6765 MB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.4092, allocations: 0.8553 MB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.4093, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.4093, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.4093, allocations: 7.922 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.4095, allocations: 16 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.842e-05/0.4096, allocations: 23.86 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.4097, allocations: 15.98 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.4098, allocations: 11.98 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.42e-05/0.4098, allocations: 11.88 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.4098, allocations: 0 / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.4098, allocations: 11.98 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-06/0.4099, allocations: 0 / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.4099, allocations: 11.94 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.491e-05/0.41, allocations: 28.17 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.41, allocations: 3.938 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.41, allocations: 0 / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.41, allocations: 0 / 1.328 GB, free: 284 kB / 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.0004309/0.4104, allocations: 262.3 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4105, allocations: 12.03 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.4105, allocations: 192 / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.4105, allocations: 38.73 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.4106, allocations: 4.938 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/0.4107, allocations: 102.5 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.4107, allocations: 384 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-06/0.4107, allocations: 4.375 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4109, allocations: 65.91 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4109, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.4109, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.4109, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.4111, allocations: 35.95 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.4115, allocations: 223.9 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.4116, allocations: 38.56 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.831e-05/0.4117, allocations: 20.91 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4117, allocations: 7.922 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4118, allocations: 30.56 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4118, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000414/0.4122, allocations: 81.66 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.4122, allocations: 55.39 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.4123, allocations: 97.86 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4123, allocations: 29.64 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4125, allocations: 84.14 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.4125, allocations: 3.953 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.4125, allocations: 21.83 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.4127, allocations: 314.8 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.4128, allocations: 11.98 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.4129, allocations: 23.92 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.4131, allocations: 40.75 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4131, allocations: 4.062 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.4133, allocations: 61.67 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4133, allocations: 11.92 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4133, allocations: 4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4133, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.4134, allocations: 4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.4134, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.4134, allocations: 12.02 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.4134, allocations: 0 / 1.33 GB, free: 14.41 MB / 1.029 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.559e-05/0.4135, allocations: 122.2 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.4136, allocations: 3.953 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.4138, allocations: 72.95 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4138, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4138, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4138, allocations: 4.031 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.414, allocations: 128.7 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.414, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.414, allocations: 15.98 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.414, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.414, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.414, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.414, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.4143, allocations: 171.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.4143, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.4143, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.4144, allocations: 7.984 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.4144, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.4144, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.4145, allocations: 87.44 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4145, allocations: 4.031 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002142/0.4147, allocations: 4 kB / 1.331 GB, free: 13.71 MB / 1.029 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.0005889/0.4153, allocations: 0.6928 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.4155, allocations: 43.94 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4155, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.4156, allocations: 23.97 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4159, allocations: 5.5 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.4164, allocations: 140 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.4169, allocations: 0.6807 MB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.4169, allocations: 3.938 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.417, allocations: 11.44 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.417, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.4394, allocations: 1.405 MB / 1.334 GB, free: 10.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.76, allocations: 12.59 kB / 1.334 GB, free: 10.75 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.695811732963193]