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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001944/0.001944, 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.001581/0.001581, allocations: 191.2 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 73.3 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2557, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001912/0.2577, allocations: 0.6692 MB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.2587, allocations: 0.8118 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.2587, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.2587, allocations: 3.938 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.2588, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.2589, allocations: 15.92 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.238e-05/0.259, allocations: 16 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.2591, allocations: 15.97 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.2591, allocations: 15.88 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.2592, allocations: 11.98 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2592, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2592, allocations: 4 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.2592, allocations: 3.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.2592, allocations: 4 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.773e-05/0.2593, allocations: 19.91 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2593, allocations: 4 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.041e-06/0.2593, allocations: 4 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.2593, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 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.0004392/0.2598, allocations: 335.8 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2598, allocations: 8.031 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.2599, allocations: 38.73 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.2599, allocations: 4.844 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.26, allocations: 164.4 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.26, allocations: 8.375 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2601, allocations: 8.359 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.2602, allocations: 58.17 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2602, allocations: 3.938 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.2603, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2603, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.2604, allocations: 39.89 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.2608, allocations: 245 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2609, allocations: 38.5 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.261, allocations: 20.89 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.261, allocations: 3.938 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2611, allocations: 34.56 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2611, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003493/0.2614, allocations: 89.48 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2615, allocations: 51.41 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.2616, allocations: 101.9 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2616, allocations: 25.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.2616, allocations: 80.14 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.2617, allocations: 11.89 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2617, allocations: 17.84 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2618, allocations: 310.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.2619, allocations: 19.92 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.262, allocations: 15.98 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.2622, allocations: 44.88 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2622, allocations: 3.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002118/0.2624, allocations: 65.66 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2624, allocations: 9.562 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.2625, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.2625, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.2626, allocations: 4 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2626, allocations: 3.984 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.2626, allocations: 8.031 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.2626, allocations: 4 kB / 1.067 GB, free: 10.48 MB / 0.8262 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 7.469e-05/0.2627, allocations: 113.7 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.2627, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.263, allocations: 76.77 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.263, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.263, allocations: 4.031 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.263, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.2632, allocations: 157.6 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2632, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.2633, allocations: 11.98 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2633, allocations: 3.938 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2633, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2633, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2633, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.2636, allocations: 171.4 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.2636, allocations: 84.95 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2636, allocations: 8 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.2637, allocations: 3.984 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.2638, allocations: 4.188 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2638, allocations: 0 / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.2638, allocations: 95.28 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2638, allocations: 0 / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002214/0.2641, allocations: 4 kB / 1.068 GB, free: 9.66 MB / 0.8262 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.0005957/0.2647, allocations: 0.6985 MB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2649, allocations: 39.97 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2649, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.265, allocations: 19.97 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.2653, allocations: 5.547 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2656, allocations: 143.9 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.266, allocations: 0.6768 MB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.266, allocations: 4 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.266, allocations: 7.438 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.266, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.2871, allocations: 1.229 MB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.768, allocations: 6.984 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches