Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001541/0.001542, 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.001694/0.001694, 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 71.88 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5695, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001736/0.5713, allocations: 0.6555 MB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006649/0.572, allocations: 0.8115 MB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.572, allocations: 1.312 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.572, allocations: 3.984 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.5721, allocations: 3.938 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.5722, allocations: 10.5 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.5723, allocations: 29.33 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.5724, allocations: 2.938 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.5725, allocations: 12.02 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.5725, allocations: 6.781 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.5725, allocations: 1.25 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.5725, allocations: 2.406 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.5726, allocations: 11.97 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.5726, allocations: 10.31 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.486e-05/0.5727, allocations: 24.53 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5727, allocations: 0 / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5727, allocations: 0 / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5727, allocations: 0 / 0.9513 GB, free: 7.887 MB / 0.7169 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.0003444/0.573, allocations: 339.4 kB / 0.9516 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5731, allocations: 9.562 kB / 0.9516 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.5731, allocations: 32.28 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.5731, allocations: 0.9375 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.819e-05/0.5732, allocations: 173.8 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.5732, allocations: 5.031 kB / 0.9518 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.5732, allocations: 5.781 kB / 0.9518 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.5734, allocations: 50.52 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.5734, allocations: 3.938 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5734, allocations: 0 / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5734, allocations: 1.25 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.5736, allocations: 30.09 kB / 0.9519 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.5738, allocations: 248.7 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.574, allocations: 43.06 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.5741, allocations: 23.19 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.5741, allocations: 0 / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.5741, allocations: 35.78 kB / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5741, allocations: 0 / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003296/0.5745, allocations: 85.52 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.5745, allocations: 51.41 kB / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.957e-05/0.5745, allocations: 102.9 kB / 0.9525 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.5746, allocations: 25.7 kB / 0.9525 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.5746, allocations: 85.61 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.5746, allocations: 9.406 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.5746, allocations: 15.25 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.5747, allocations: 316 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.5748, allocations: 17.2 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.5748, allocations: 21.27 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.575, allocations: 43.53 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.575, allocations: 3.938 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.5752, allocations: 68.61 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5752, allocations: 5.125 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5752, allocations: 192 / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5752, allocations: 5.078 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.5754, allocations: 9.344 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5754, allocations: 1.062 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.5754, allocations: 11.47 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.5754, allocations: 1.344 kB / 0.9531 GB, free: 6.02 MB / 0.7169 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.417e-05/0.5755, allocations: 115.2 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.5755, allocations: 5.25 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.5758, allocations: 70.41 kB / 0.9533 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5758, allocations: 3.938 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5758, allocations: 1.219 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.5758, allocations: 3.984 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.5759, allocations: 166.3 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5759, allocations: 0 / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.576, allocations: 10.11 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.576, allocations: 1.562 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.576, allocations: 0 / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.576, allocations: 0 / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.576, allocations: 4.031 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.5762, allocations: 159 kB / 0.9536 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.5763, allocations: 78.52 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.5763, allocations: 5.125 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.5764, allocations: 10.67 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.5764, allocations: 6.375 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.5764, allocations: 0 / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.5765, allocations: 78.41 kB / 0.9538 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5765, allocations: 5.438 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002161/0.5767, allocations: 2.531 kB / 0.9538 GB, free: 5.281 MB / 0.7169 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.000379/0.5771, allocations: 0.6998 MB / 0.9545 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.5773, allocations: 33.38 kB / 0.9545 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5773, allocations: 3.938 kB / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.5774, allocations: 28.06 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.5776, allocations: 5.688 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.5781, allocations: 141 kB / 0.9547 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.689e-05/0.5782, allocations: 0.6798 MB / 0.9553 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.5783, allocations: 1.719 kB / 0.9553 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.5783, allocations: 12.47 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.5783, allocations: 0 / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.5951, allocations: 1.233 MB / 0.9565 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.653, allocations: 12.78 kB / 0.9566 GB, free: 2.977 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches