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.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.001467/0.001467, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001447/0.001447, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.052/3.052, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_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.00203/0.00203, allocations: 68.19 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 179 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002129/1.17, allocations: 0.667 MB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001079/1.172, allocations: 0.8536 MB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/1.172, allocations: 0 / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/1.172, allocations: 4.906 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/1.172, allocations: 4.5 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/1.172, allocations: 14.64 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/1.172, allocations: 28.67 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/1.172, allocations: 3.406 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/1.172, allocations: 9.094 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/1.172, allocations: 14.16 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/1.172, allocations: 2.219 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/1.172, allocations: 13.19 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/1.172, allocations: 0.6094 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/1.172, allocations: 11.66 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/1.172, allocations: 25.06 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.172, allocations: 1.891 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.172, allocations: 0 / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.172, allocations: 0 / 1.342 GB, free: 15.12 MB / 1.061 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.0004326/1.173, allocations: 341.2 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.173, allocations: 9.688 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.047e-05/1.173, allocations: 5.891 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.137e-05/1.173, allocations: 43.23 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/1.173, allocations: 8.094 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.323e-05/1.173, allocations: 166.9 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/1.173, allocations: 1.688 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/1.173, allocations: 0.9844 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/1.173, allocations: 52.72 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.173, allocations: 0.6094 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/1.173, allocations: 5.281 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/1.173, allocations: 3.984 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/1.174, allocations: 32.27 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/1.174, allocations: 253.9 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/1.174, allocations: 37.39 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/1.174, allocations: 23.02 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/1.174, allocations: 1.094 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/1.174, allocations: 36.41 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.174, allocations: 0 / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003719/1.174, allocations: 79.06 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/1.174, allocations: 56.78 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/1.175, allocations: 101.6 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/1.175, allocations: 25.7 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/1.175, allocations: 85.81 kB / 1.343 GB, free: 13.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/1.175, allocations: 5.781 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/1.175, allocations: 12.45 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/1.175, allocations: 313.1 kB / 1.343 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/1.175, allocations: 21.48 kB / 1.343 GB, free: 13.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/1.175, allocations: 14.62 kB / 1.343 GB, free: 13.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/1.175, allocations: 45.3 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.175, allocations: 1.062 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/1.175, allocations: 78.53 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.175, allocations: 5.781 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.175, allocations: 0 / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.175, allocations: 1.406 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/1.175, allocations: 8.844 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.175, allocations: 0.6094 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/1.175, allocations: 5.219 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/1.175, allocations: 2.047 kB / 1.344 GB, free: 13.35 MB / 1.061 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 6.499e-05/1.175, allocations: 118 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/1.176, allocations: 1.406 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/1.176, allocations: 78.84 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.176, allocations: 1.625 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.176, allocations: 0 / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/1.176, allocations: 0.7969 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/1.176, allocations: 163.8 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.176, allocations: 0.7031 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/1.176, allocations: 11.73 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.176, allocations: 1.609 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/1.176, allocations: 0 / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.176, allocations: 1.188 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.176, allocations: 0 / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/1.176, allocations: 168.2 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/1.176, allocations: 85.8 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/1.176, allocations: 1.469 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/1.176, allocations: 9.234 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/1.176, allocations: 2.781 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/1.176, allocations: 0.6562 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.579e-05/1.176, allocations: 84.88 kB / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.176, allocations: 0 / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000214/1.177, allocations: 4.812 kB / 1.344 GB, free: 12.64 MB / 1.061 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.0004165/1.177, allocations: 0.695 MB / 1.345 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002272/1.177, allocations: 39.58 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.177, allocations: 4.062 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/1.177, allocations: 20.05 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/1.178, allocations: 2.344 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/1.178, allocations: 134.8 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/1.178, allocations: 0.6794 MB / 1.346 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.109e-05/1.178, allocations: 5.312 kB / 1.346 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/1.178, allocations: 13.58 kB / 1.346 GB, free: 11.1 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.178, allocations: 0 / 1.346 GB, free: 11.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/1.196, allocations: 1.327 MB / 1.347 GB, free: 10.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/9.565, allocations: 10.89 kB / 1.347 GB, free: 10.7 MB / 1.061 GB " [Timeout remaining time 290] (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/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: 16.2589123880025]