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.01029/0.01029, allocations: 102.6 kB / 15.74 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002466/0.002466, allocations: 191 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.376/2.376, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.79/3.79, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 71.89 kB / 0.9505 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253/1.255, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.002411/1.258, allocations: 0.6683 MB / 1.088 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001209/1.259, allocations: 0.8052 MB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/1.259, allocations: 0.9062 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/1.259, allocations: 0.5156 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/1.259, allocations: 9.562 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/1.259, allocations: 12.41 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/1.259, allocations: 23.25 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/1.26, allocations: 4.484 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/1.26, allocations: 13.58 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/1.26, allocations: 13.52 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/1.26, allocations: 2.188 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/1.26, allocations: 2.188 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/1.26, allocations: 2.422 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/1.26, allocations: 13.98 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/1.26, allocations: 20.81 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.26, allocations: 1.062 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/1.26, allocations: 0 / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.26, allocations: 0 / 1.089 GB, free: 4.168 MB / 0.8575 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.0004729/1.26, allocations: 336.8 kB / 1.089 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.261, allocations: 9.375 kB / 1.089 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/1.261, allocations: 32.88 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/1.261, allocations: 2.312 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.362e-05/1.261, allocations: 178.9 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/1.261, allocations: 1.406 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/1.261, allocations: 1.5 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/1.261, allocations: 49.27 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.261, allocations: 3.938 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/1.261, allocations: 0.8438 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/1.261, allocations: 4.719 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/1.261, allocations: 36.88 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/1.262, allocations: 246.5 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/1.262, allocations: 48.45 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/1.262, allocations: 19.45 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/1.262, allocations: 1 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/1.262, allocations: 39.94 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/1.262, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005359/1.263, allocations: 83.55 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/1.263, allocations: 52.64 kB / 1.09 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/1.263, allocations: 101.2 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/1.263, allocations: 25.83 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/1.263, allocations: 85.77 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/1.263, allocations: 9.656 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/1.263, allocations: 12.5 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/1.263, allocations: 313.5 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/1.263, allocations: 17.34 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/1.263, allocations: 14.66 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/1.264, allocations: 42.84 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.264, allocations: 3.938 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003138/1.264, allocations: 78.42 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.264, allocations: 5.594 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.264, allocations: 0 / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.264, allocations: 1.703 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/1.264, allocations: 12.38 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.264, allocations: 0.6562 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/1.264, allocations: 5.734 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/1.264, allocations: 1.859 kB / 1.091 GB, free: 2.406 MB / 0.8575 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 6.355e-05/1.264, allocations: 110.9 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/1.264, allocations: 2.703 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/1.265, allocations: 75.55 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.265, allocations: 192 / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.265, allocations: 5.031 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.265, allocations: 3.984 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/1.265, allocations: 163.5 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.265, allocations: 1.672 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/1.265, allocations: 8.781 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.265, allocations: 0 / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.265, allocations: 0.75 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.265, allocations: 1.125 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.265, allocations: 4.031 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/1.265, allocations: 163.2 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/1.265, allocations: 83.03 kB / 1.091 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/1.266, allocations: 0.6562 kB / 1.091 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.266, allocations: 5.781 kB / 1.091 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/1.266, allocations: 6.859 kB / 1.091 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/1.266, allocations: 0.6562 kB / 1.091 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.154e-05/1.266, allocations: 84.75 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.312e-06/1.266, allocations: 0 / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004332/1.266, allocations: 7.531 kB / 1.092 GB, free: 1.707 MB / 0.8575 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.0007308/1.267, allocations: 0.6964 MB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003292/1.267, allocations: 35.17 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.267, allocations: 0 / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/1.267, allocations: 20.27 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/1.268, allocations: 12.94 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/1.269, allocations: 132.5 kB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/1.269, allocations: 0.6795 MB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.526e-05/1.269, allocations: 0.9375 kB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/1.269, allocations: 10.34 kB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.269, allocations: 0 / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/1.294, allocations: 1.271 MB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/15.01, allocations: 11.34 kB / 1.094 GB, free: 15.79 MB / 0.8731 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