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.0007879/0.0007879, 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.0009428/0.0009428, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9229/0.9229, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.776/1.776, 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.835e-06/2.835e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.328e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001503/0.001526, allocations: 0.66 MB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008306/0.002357, allocations: 0.8471 MB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.002386, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.002412, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.002471, allocations: 7.875 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.002649, allocations: 15.92 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.002714, allocations: 27.92 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.002805, allocations: 7.984 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.00287, allocations: 11.98 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.002903, allocations: 8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.002918, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.002961, allocations: 7.984 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.002975, allocations: 7.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.393e-05/0.002989, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.676e-05/0.003086, allocations: 31.94 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.003088, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003089, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003092, allocations: 0 / 1.001 GB, free: 11.79 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.0003233/0.003416, allocations: 270.3 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.003454, allocations: 8.75 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.003484, allocations: 34.75 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.003544, allocations: 0.9375 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.003628, allocations: 109.7 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.003638, allocations: 384 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.003647, allocations: 4.375 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.003771, allocations: 46.23 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003778, allocations: 4.125 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.003787, allocations: 8.375 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.003793, allocations: 4.125 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.929e-05/0.003882, allocations: 35.95 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.004159, allocations: 208 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.004241, allocations: 42.53 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.004288, allocations: 24.91 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.004308, allocations: 4 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.004326, allocations: 34.5 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.004327, allocations: 0 / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000222/0.004549, allocations: 85.58 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.004583, allocations: 51.41 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.004641, allocations: 101.8 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.004651, allocations: 29.7 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.004684, allocations: 80.27 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.0047, allocations: 11.89 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.004725, allocations: 17.72 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.904e-05/0.004804, allocations: 310.8 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.004846, allocations: 15.97 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.004882, allocations: 19.98 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.004959, allocations: 36.83 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.004963, allocations: 12 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.005064, allocations: 69.53 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005076, allocations: 8 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.00508, allocations: 0 / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.00509, allocations: 0 / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.005151, allocations: 7.984 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.005155, allocations: 0 / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.005177, allocations: 4 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.005183, allocations: 12.02 kB / 1.003 GB, free: 9.91 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 5.013e-05/0.005233, allocations: 109.8 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.005248, allocations: 7.891 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.005369, allocations: 68.97 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005371, allocations: 192 / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.005376, allocations: 0 / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.00538, allocations: 3.984 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.277e-05/0.005473, allocations: 128.7 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.005474, allocations: 11.97 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.0055, allocations: 7.984 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.005503, allocations: 3.938 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.005509, allocations: 0 / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00551, allocations: 0 / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005511, allocations: 0 / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.005627, allocations: 163.5 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.005633, allocations: 3.938 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-06/0.005642, allocations: 4.031 kB / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.005678, allocations: 7.984 kB / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.005706, allocations: 0 / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005709, allocations: 4 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.49e-05/0.005734, allocations: 79.28 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005734, allocations: 4 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001401/0.005874, allocations: 0 / 1.004 GB, free: 9.234 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.0002827/0.006157, allocations: 0.7045 MB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.006272, allocations: 31.97 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006274, allocations: 0 / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.006313, allocations: 23.91 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.006519, allocations: 10.23 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.006824, allocations: 139.4 kB / 1.004 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.117e-05/0.006865, allocations: 63.34 kB / 1.004 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.006881, allocations: 0 / 1.004 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.006911, allocations: 8.5 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.006912, allocations: 3.938 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.02077, allocations: 1.948 MB / 1.006 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.669, allocations: 7.438 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable atan1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv. Warning: Get data of variable atan1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.869048481807113]