Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001842/0.001842, allocations: 106 kB / 16.45 MB, free: 6.445 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.002058/0.002058, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 71.89 kB / 1.104 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9014/0.9033, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001787/0.9051, allocations: 0.6795 MB / 1.269 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.9059, allocations: 0.8081 MB / 1.27 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.906, allocations: 0.6562 kB / 1.27 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.906, allocations: 0.5156 kB / 1.27 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.9061, allocations: 4.625 kB / 1.27 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.9062, allocations: 9.219 kB / 1.27 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.636e-05/0.9063, allocations: 26.59 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.9064, allocations: 3.656 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.9064, allocations: 12.55 kB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.9065, allocations: 10.02 kB / 1.27 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.9065, allocations: 2.281 kB / 1.27 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.9065, allocations: 6.375 kB / 1.27 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.9065, allocations: 8.672 kB / 1.27 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.9066, allocations: 7.438 kB / 1.27 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.9066, allocations: 22.73 kB / 1.27 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9067, allocations: 0.875 kB / 1.27 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9067, allocations: 3.938 kB / 1.27 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.9067, allocations: 0.9375 kB / 1.27 GB, free: 6.645 MB / 0.9981 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.000403/0.9071, allocations: 336.2 kB / 1.271 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9071, allocations: 9.75 kB / 1.271 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.9071, allocations: 36.06 kB / 1.271 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.9072, allocations: 6.297 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.9072, allocations: 171.6 kB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.9073, allocations: 1.156 kB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.9073, allocations: 1.594 kB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.9075, allocations: 49.06 kB / 1.271 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9075, allocations: 4.5 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.9075, allocations: 0.9062 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9075, allocations: 3.938 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.9076, allocations: 44.8 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.9079, allocations: 241.7 kB / 1.271 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.9081, allocations: 44.3 kB / 1.271 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.9081, allocations: 19.22 kB / 1.271 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.9082, allocations: 5.906 kB / 1.271 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.9082, allocations: 35.28 kB / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.9082, allocations: 5.047 kB / 1.271 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003472/0.9085, allocations: 79.11 kB / 1.271 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.9086, allocations: 52.8 kB / 1.271 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.677e-05/0.9086, allocations: 104.8 kB / 1.272 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.9086, allocations: 26.64 kB / 1.272 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.9087, allocations: 85.55 kB / 1.272 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.9087, allocations: 9.594 kB / 1.272 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.9087, allocations: 12.89 kB / 1.272 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.9087, allocations: 312.8 kB / 1.272 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.9088, allocations: 17.8 kB / 1.272 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.9089, allocations: 18.77 kB / 1.272 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.909, allocations: 41.19 kB / 1.272 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.909, allocations: 3.938 kB / 1.272 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/0.9092, allocations: 67.19 kB / 1.272 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.9092, allocations: 5.469 kB / 1.272 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9092, allocations: 5.219 kB / 1.272 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9093, allocations: 0 / 1.272 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.9094, allocations: 9.719 kB / 1.272 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.9094, allocations: 0 / 1.272 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.9094, allocations: 5.812 kB / 1.272 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.9094, allocations: 1.469 kB / 1.272 GB, free: 4.883 MB / 0.9981 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 4.625e-05/0.9095, allocations: 112.5 kB / 1.272 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.9095, allocations: 1.5 kB / 1.272 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.9097, allocations: 78.95 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.9097, allocations: 0.875 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9097, allocations: 0.7031 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9097, allocations: 0.75 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.9098, allocations: 163 kB / 1.272 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9098, allocations: 0.625 kB / 1.272 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.9099, allocations: 8.641 kB / 1.272 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.9099, allocations: 5.375 kB / 1.273 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.9099, allocations: 4.812 kB / 1.273 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9099, allocations: 0 / 1.273 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9099, allocations: 0.6875 kB / 1.273 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.9101, allocations: 170.4 kB / 1.273 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.9101, allocations: 83.36 kB / 1.273 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.9101, allocations: 1.312 kB / 1.273 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.9102, allocations: 10.11 kB / 1.273 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.9103, allocations: 2.297 kB / 1.273 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.9103, allocations: 0.6562 kB / 1.273 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.276e-05/0.9103, allocations: 83.83 kB / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9103, allocations: 0 / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002115/0.9105, allocations: 4.875 kB / 1.273 GB, free: 4.18 MB / 0.9981 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.0004073/0.9109, allocations: 0.696 MB / 1.274 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.9111, allocations: 39.55 kB / 1.274 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9111, allocations: 0 / 1.274 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.9112, allocations: 20.11 kB / 1.274 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.9115, allocations: 7.484 kB / 1.274 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.9119, allocations: 148.9 kB / 1.274 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.9121, allocations: 0.6756 MB / 1.274 GB, free: 18.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.9121, allocations: 1.312 kB / 1.274 GB, free: 18.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.9121, allocations: 9.469 kB / 1.274 GB, free: 18.63 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.9121, allocations: 4.062 kB / 1.274 GB, free: 18.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.935, allocations: 1.281 MB / 1.276 GB, free: 18.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.81, allocations: 16.44 kB / 1.276 GB, free: 18.23 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.06125569390133]