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.0008898/0.0008898, 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.0008499/0.0008499, 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.8626/0.8626, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="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 2.885e-06/2.885e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.377e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001285/0.001309, allocations: 0.6639 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.002038, allocations: 0.8393 MB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.002068, allocations: 0 / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.002093, allocations: 0 / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.002147, allocations: 7.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.002327, allocations: 23.8 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.002391, allocations: 23.94 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.002475, allocations: 3.984 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.002535, allocations: 15.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.002566, allocations: 7.984 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.00258, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.002617, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.002631, allocations: 7.938 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.002646, allocations: 3.984 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.886e-05/0.002735, allocations: 27.95 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.002738, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.71e-07/0.002739, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.002743, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 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.0003069/0.00305, allocations: 266.3 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.003087, allocations: 8.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.634e-05/0.003113, allocations: 34.75 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.003171, allocations: 4.922 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.003246, allocations: 109.7 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.003257, allocations: 4.375 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-06/0.003264, allocations: 4.375 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.003379, allocations: 50.23 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.003386, allocations: 192 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.003393, allocations: 384 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.003399, allocations: 8.062 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-05/0.003482, allocations: 31.97 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.00375, allocations: 216 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/0.003822, allocations: 38.56 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.003866, allocations: 28.89 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.003882, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.0039, allocations: 34.5 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.0039, allocations: 0 / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002018/0.004102, allocations: 85.58 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.004129, allocations: 51.53 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.807e-05/0.004187, allocations: 109.8 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.004196, allocations: 25.7 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.004228, allocations: 80.14 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.004244, allocations: 7.938 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.004267, allocations: 17.72 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.004337, allocations: 310.8 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.004375, allocations: 11.98 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.00441, allocations: 23.97 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.004481, allocations: 40.89 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.004484, allocations: 7.938 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.043e-05/0.004574, allocations: 69.53 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.004585, allocations: 8 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.004589, allocations: 0 / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.004599, allocations: 0 / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.004656, allocations: 8.031 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.004661, allocations: 3.984 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.00468, allocations: 4 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.004686, allocations: 4 kB / 1.003 GB, free: 9.934 MB / 0.9636 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.786e-05/0.004734, allocations: 109.8 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.004745, allocations: 3.938 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.004865, allocations: 76.91 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.004867, allocations: 0 / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.00487, allocations: 4.031 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.004873, allocations: 3.938 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.799e-05/0.00496, allocations: 128.7 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.004962, allocations: 4 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.004982, allocations: 7.938 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.004983, allocations: 3.938 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.00499, allocations: 4 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.004991, allocations: 3.984 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.004993, allocations: 4 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.005115, allocations: 155.5 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.005121, allocations: 7.922 kB / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.00513, allocations: 0 / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.005165, allocations: 4 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.005193, allocations: 3.984 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005195, allocations: 4 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.005221, allocations: 83.28 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005221, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001308/0.005352, allocations: 4 kB / 1.004 GB, free: 9.25 MB / 0.9636 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.0002739/0.005626, allocations: 0.6968 MB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.005736, allocations: 35.95 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005737, allocations: 0 / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.005774, allocations: 20.02 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.005968, allocations: 16 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.006265, allocations: 135.2 kB / 1.004 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.824e-05/0.006304, allocations: 59.36 kB / 1.004 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.006319, allocations: 0 / 1.004 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.006349, allocations: 12.48 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.00635, allocations: 3.938 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.01927, allocations: 1.944 MB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.258/6.278, allocations: 19.31 kB / 1.006 GB, free: 6.367 MB / 0.9636 GB " [Timeout remaining time 294] (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/jenkins/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: 10.260086566209793]