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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.521/2.521, allocations: 461.9 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.98 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2482, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.00162/0.2498, allocations: 0.6652 MB / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007017/0.2505, allocations: 0.8118 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.2506, allocations: 0 / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.2506, allocations: 4 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.2506, allocations: 7.938 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.2507, allocations: 7.984 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.561e-05/0.2508, allocations: 23.92 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.2509, allocations: 4 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.2509, allocations: 11.94 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/0.251, allocations: 15.97 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.251, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.251, allocations: 4 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.251, allocations: 7.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.251, allocations: 11.98 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.323e-05/0.2511, allocations: 19.91 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.2511, allocations: 3.938 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2511, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.2511, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 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.0003356/0.2515, allocations: 337.3 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.2515, allocations: 12.62 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.2515, allocations: 30.75 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.711e-05/0.2516, allocations: 12.78 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.2516, allocations: 160.4 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2517, allocations: 4.375 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.2517, allocations: 4.375 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2518, allocations: 46.23 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2518, allocations: 3.938 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.2518, allocations: 4 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2518, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.252, allocations: 43.89 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.2523, allocations: 244.9 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.2524, allocations: 42.53 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.2525, allocations: 20.91 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2525, allocations: 4 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.2525, allocations: 34.56 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2525, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003033/0.2528, allocations: 81.58 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2529, allocations: 55.41 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.2529, allocations: 110 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2529, allocations: 25.7 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.253, allocations: 80.14 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.253, allocations: 11.89 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.253, allocations: 13.72 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.2531, allocations: 310.8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.2532, allocations: 23.97 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.2533, allocations: 15.98 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2534, allocations: 36.83 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2534, allocations: 3.938 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.2536, allocations: 69.5 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2536, allocations: 8 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2537, allocations: 96 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.2537, allocations: 4 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.2537, allocations: 7.984 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2538, allocations: 4 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.2538, allocations: 7.984 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.2538, allocations: 4 kB / 1.056 GB, free: 4.555 MB / 0.8106 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.843e-05/0.2539, allocations: 109.8 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.2539, allocations: 3.938 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.2541, allocations: 80.72 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2541, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2541, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.2541, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.2543, allocations: 161.6 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2543, allocations: 0 / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.2544, allocations: 8 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2544, allocations: 3.938 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2544, allocations: 8.016 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2544, allocations: 0 / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2544, allocations: 0 / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.2546, allocations: 163.5 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.2546, allocations: 84.95 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.2547, allocations: 4 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.2547, allocations: 8.031 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.2548, allocations: 3.984 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.2548, allocations: 3.938 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.483e-05/0.2548, allocations: 79.28 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2548, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002122/0.255, allocations: 8 kB / 1.057 GB, free: 3.742 MB / 0.8106 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.0004886/0.2555, allocations: 0.6929 MB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.2557, allocations: 39.95 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2557, allocations: 3.938 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.2558, allocations: 20.08 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.256, allocations: 8 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.2564, allocations: 135.8 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.2566, allocations: 0.6729 MB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.965e-05/0.2567, allocations: 4 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.2567, allocations: 11.42 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2567, allocations: 4.062 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.2709, allocations: 1.237 MB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/6.914, allocations: 3 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB (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 --timeout=50 --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) 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) Reference file matches