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.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.0008778/0.0008778, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009422/0.0009422, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.933/0.933, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 3.636e-06/3.636e-06, allocations: 0 / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.39e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001353/0.001377, allocations: 0.6705 MB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008486/0.002225, allocations: 0.8393 MB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.002255, allocations: 3.938 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.002278, allocations: 0 / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.002333, allocations: 3.984 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.002516, allocations: 19.86 kB / 0.9521 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.332e-05/0.002579, allocations: 23.92 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.002663, allocations: 4 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.002728, allocations: 15.92 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.195e-05/0.00276, allocations: 11.98 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.002773, allocations: 0 / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.702e-05/0.00281, allocations: 8 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.002823, allocations: 8 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.002837, allocations: 0 / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.002933, allocations: 35.88 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.002936, allocations: 0 / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.193e-06/0.002937, allocations: 0 / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.002941, allocations: 0 / 0.9522 GB, free: 1.773 MB / 0.9011 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.0003272/0.003268, allocations: 266.3 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.003306, allocations: 8.031 kB / 0.9524 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.003335, allocations: 30.75 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.003404, allocations: 12.89 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.402e-05/0.003478, allocations: 101.8 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.003489, allocations: 12.3 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.003497, allocations: 4.312 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.003614, allocations: 46.25 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.003622, allocations: 192 / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.00363, allocations: 384 / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.003637, allocations: 8.109 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.746e-05/0.003725, allocations: 35.97 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.004004, allocations: 212.1 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.004087, allocations: 38.5 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.004134, allocations: 20.91 kB / 0.9529 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.004155, allocations: 4 kB / 0.9529 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.004177, allocations: 38.48 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004177, allocations: 0 / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002317/0.004409, allocations: 85.64 kB / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.004441, allocations: 51.41 kB / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.004544, allocations: 101.8 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.004555, allocations: 29.7 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.004587, allocations: 84.14 kB / 0.9533 GB, free: 444 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.004602, allocations: 3.953 kB / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.004627, allocations: 13.72 kB / 0.9533 GB, free: 420 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.0047, allocations: 318.8 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.00474, allocations: 16.11 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.004776, allocations: 19.98 kB / 0.9537 GB, free: 56 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/0.004851, allocations: 44.75 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004853, allocations: 0 / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000107/0.00496, allocations: 69.56 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.004973, allocations: 8.094 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004977, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.004989, allocations: 4 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.00505, allocations: 11.92 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005054, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.005076, allocations: 7.984 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.005081, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 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 5.045e-05/0.005131, allocations: 113.8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.005143, allocations: 3.938 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.005274, allocations: 72.97 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005276, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.005279, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005282, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.524e-05/0.005377, allocations: 128.7 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005378, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.005402, allocations: 11.98 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.005405, allocations: 7.875 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.005411, allocations: 0 / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.005413, allocations: 7.969 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005414, allocations: 0 / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.005527, allocations: 159.5 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.005535, allocations: 11.89 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.005543, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.005579, allocations: 7.984 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.005609, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005611, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.005636, allocations: 91.3 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005636, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001462/0.005782, allocations: 4 kB / 0.9544 GB, free: 15.22 MB / 0.9167 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.0002858/0.006068, allocations: 0.6967 MB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.006195, allocations: 35.95 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006196, allocations: 4.094 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.006236, allocations: 15.98 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.006455, allocations: 14.44 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.006792, allocations: 138.4 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.006834, allocations: 63.34 kB / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.006854, allocations: 0 / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.006888, allocations: 8.5 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.006889, allocations: 4.062 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.0203, allocations: 1.942 MB / 0.9572 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/6.657, allocations: 6.688 kB / 0.9572 GB, free: 12.34 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.640047022141516]