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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004954/0.004954, allocations: 101 kB / 15.73 MB, free: 6.445 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.001392/0.001392, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.691/2.691, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 71.89 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2739, allocations: 162.3 MB / 1.242 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001558/0.2755, allocations: 0.6634 MB / 1.243 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.2763, allocations: 0.8079 MB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.2763, allocations: 4 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.2764, allocations: 3.938 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.2764, allocations: 3.938 kB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.2765, allocations: 7.984 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.709e-05/0.2766, allocations: 23.94 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.2767, allocations: 11.97 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.2767, allocations: 7.938 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.2768, allocations: 15.92 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2768, allocations: 4 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.683e-06/0.2768, allocations: 0 / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.2768, allocations: 7.938 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.2769, allocations: 4 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.017e-05/0.2769, allocations: 27.89 kB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2769, allocations: 0 / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.277, allocations: 4 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.277, allocations: 0 / 1.243 GB, free: 8.125 MB / 0.9981 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.0003917/0.2774, allocations: 335.5 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2774, allocations: 12.03 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.2774, allocations: 30.75 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.829e-05/0.2775, allocations: 4.938 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2776, allocations: 172.3 kB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2776, allocations: 384 / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.2776, allocations: 384 / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2778, allocations: 58.17 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2778, allocations: 3.938 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2778, allocations: 0 / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2778, allocations: 3.938 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.278, allocations: 35.95 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.2782, allocations: 245 kB / 1.244 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2784, allocations: 50.42 kB / 1.244 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.137e-05/0.2785, allocations: 24.91 kB / 1.244 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2785, allocations: 0 / 1.244 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2785, allocations: 30.56 kB / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2785, allocations: 0 / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000311/0.2788, allocations: 85.64 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2789, allocations: 51.41 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.2789, allocations: 97.84 kB / 1.245 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.279, allocations: 25.7 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.279, allocations: 92.06 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.279, allocations: 7.953 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.2791, allocations: 13.84 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2792, allocations: 318.8 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.649e-05/0.2793, allocations: 11.98 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.2793, allocations: 19.97 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2795, allocations: 40.89 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2795, allocations: 3.938 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.2797, allocations: 69.61 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2797, allocations: 5.875 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2797, allocations: 0 / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.2797, allocations: 3.938 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.2798, allocations: 15.92 kB / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2798, allocations: 0 / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.2799, allocations: 8.031 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2799, allocations: 0 / 1.245 GB, free: 6.051 MB / 0.9981 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.198e-05/0.28, allocations: 117.8 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.28, allocations: 4 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.2802, allocations: 64.78 kB / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2802, allocations: 0 / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2802, allocations: 0 / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2802, allocations: 4.031 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.2804, allocations: 161.6 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2804, allocations: 0 / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.2804, allocations: 11.92 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2804, allocations: 0 / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2805, allocations: 0 / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2805, allocations: 7.938 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2805, allocations: 4 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.2807, allocations: 167.5 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.2807, allocations: 81.06 kB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2808, allocations: 3.984 kB / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.2808, allocations: 4 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.2809, allocations: 3.984 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2809, allocations: 4 kB / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.2809, allocations: 79.28 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2809, allocations: 4.031 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001945/0.2811, allocations: 4 kB / 1.246 GB, free: 5.238 MB / 0.9981 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.0005141/0.2816, allocations: 0.6973 MB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.2818, allocations: 39.98 kB / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2818, allocations: 0 / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.2819, allocations: 19.98 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2822, allocations: 4 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.2825, allocations: 143.7 kB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.2828, allocations: 0.6807 MB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.2828, allocations: 0 / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.2828, allocations: 11.44 kB / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.2828, allocations: 0 / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.599/7.882, allocations: 1.287 MB / 1.249 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/20.35, allocations: 2.062 kB / 1.249 GB, free: 2.348 MB / 0.9981 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=400 --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