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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001147/0.001147, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 68.48 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2219, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001493/0.2234, allocations: 0.7203 MB / 1.053 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000619/0.2241, allocations: 0.8196 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.2241, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.2241, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.737e-05/0.2242, allocations: 7.938 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.435e-05/0.2242, allocations: 4 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.435e-05/0.2243, allocations: 23.86 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.2243, allocations: 11.98 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.2243, allocations: 11.98 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.584e-05/0.2244, allocations: 11.94 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.2244, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.2244, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.2244, allocations: 7.922 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.2244, allocations: 7.938 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.183e-05/0.2245, allocations: 15.97 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2245, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.41e-07/0.2245, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.2245, allocations: 4 kB / 1.054 GB, free: 6.539 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.0002711/0.2248, allocations: 339.8 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.265e-05/0.2248, allocations: 15.91 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.271e-05/0.2248, allocations: 30.75 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.546e-05/0.2248, allocations: 12.84 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.862e-05/0.2249, allocations: 164.4 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-06/0.2249, allocations: 384 / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.2249, allocations: 4.375 kB / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.225, allocations: 50.17 kB / 1.054 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-06/0.2251, allocations: 7.938 kB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.2251, allocations: 4 kB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-06/0.2251, allocations: 0 / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.2252, allocations: 27.97 kB / 1.054 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.2254, allocations: 249 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2255, allocations: 46.44 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.2256, allocations: 24.91 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.2256, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.2256, allocations: 30.56 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.2256, allocations: 0 / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002669/0.2259, allocations: 85.64 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.2259, allocations: 51.41 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.226, allocations: 109.8 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.226, allocations: 25.7 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.226, allocations: 80.14 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.2261, allocations: 7.844 kB / 1.055 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.2261, allocations: 17.72 kB / 1.055 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.2262, allocations: 319 kB / 1.055 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-05/0.2263, allocations: 11.98 kB / 1.055 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.641e-05/0.2263, allocations: 19.98 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2265, allocations: 32.83 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2265, allocations: 7.922 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001704/0.2266, allocations: 69.64 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.2267, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-06/0.2267, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.2267, allocations: 4 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.2267, allocations: 11.92 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.2268, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.2268, allocations: 11.92 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.2268, allocations: 3.938 kB / 1.056 GB, free: 4.461 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.794e-05/0.2269, allocations: 121.8 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.2269, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.2271, allocations: 64.78 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2271, allocations: 4 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2271, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-06/0.2271, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.2272, allocations: 169.6 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2273, allocations: 0 / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.2273, allocations: 11.98 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2273, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.2273, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2273, allocations: 3.938 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2273, allocations: 4 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.2276, allocations: 163.5 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.2276, allocations: 84.95 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.2276, allocations: 0 / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.2277, allocations: 11.98 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.2277, allocations: 4 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2277, allocations: 0 / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.842e-05/0.2278, allocations: 79.28 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2278, allocations: 0 / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002004/0.228, allocations: 4 kB / 1.056 GB, free: 3.652 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.0004187/0.2284, allocations: 0.7007 MB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.2286, allocations: 36 kB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2286, allocations: 0 / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.2287, allocations: 19.98 kB / 1.057 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.2289, allocations: 7.984 kB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.2292, allocations: 141.6 kB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.2294, allocations: 0.6811 MB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.2294, allocations: 0 / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.2295, allocations: 11.44 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2295, allocations: 0 / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.2403, allocations: 1.074 MB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.2405, allocations: 202.6 kB / 1.059 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/1.795, allocations: 0 / 1.059 GB, free: 0.7305 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