Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",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.001261/0.001262, 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.001207/0.001207, allocations: 194.5 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.446/2.446, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 70.45 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2439, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001925/0.2458, allocations: 0.7003 MB / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.2468, allocations: 0.8351 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.2468, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.2469, allocations: 3.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.2469, allocations: 11.92 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.2471, allocations: 19.92 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.2472, allocations: 47.84 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.2473, allocations: 8 kB / 1.055 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.2473, allocations: 19.92 kB / 1.055 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.2474, allocations: 19.92 kB / 1.055 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.2474, allocations: 4 kB / 1.055 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.2474, allocations: 4 kB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.2474, allocations: 11.97 kB / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.2475, allocations: 19.88 kB / 1.055 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.938e-05/0.2475, allocations: 43.86 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2476, allocations: 0 / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2476, allocations: 0 / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2476, allocations: 0 / 1.055 GB, free: 6.516 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004595/0.248, allocations: 359.7 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2481, allocations: 12.56 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2481, allocations: 34.75 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.2481, allocations: 4.844 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2483, allocations: 184.3 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.2483, allocations: 384 / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.2483, allocations: 384 / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.2485, allocations: 70.22 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2485, allocations: 7.875 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.2485, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2486, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.2488, allocations: 71.86 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.2492, allocations: 268.8 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.2494, allocations: 54.55 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2495, allocations: 40.91 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2495, allocations: 3.984 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2496, allocations: 34.56 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2496, allocations: 0 / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005203/0.2501, allocations: 133.5 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2501, allocations: 51.41 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.2502, allocations: 109.8 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2502, allocations: 25.7 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.2503, allocations: 84.14 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.2503, allocations: 11.81 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.2503, allocations: 25.7 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.2504, allocations: 310.8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.2506, allocations: 31.91 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.2507, allocations: 36.14 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.251, allocations: 80.73 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.251, allocations: 0 / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000321/0.2513, allocations: 93.62 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2513, allocations: 8 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2514, allocations: 0 / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2514, allocations: 0 / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2515, allocations: 15.98 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2515, allocations: 4 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.2516, allocations: 15.97 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.2516, allocations: 4 kB / 1.057 GB, free: 4.137 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 (3): * Single equations (assignments): 3 * 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.413e-05/0.2517, allocations: 109.8 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.2517, allocations: 7.906 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.2521, allocations: 109.5 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2521, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2521, allocations: 4 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2521, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2522, allocations: 173.5 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2523, allocations: 3.984 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.251e-05/0.2523, allocations: 11.98 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2524, allocations: 4 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2524, allocations: 4 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.2524, allocations: 4 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2524, allocations: 3.938 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.2527, allocations: 199.3 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.2528, allocations: 85.02 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2528, allocations: 4 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2529, allocations: 7.984 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.253, allocations: 7.984 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.253, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.253, allocations: 87.28 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.253, allocations: 0 / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002101/0.2532, allocations: 4 kB / 1.058 GB, free: 3.219 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 (3): * Single equations (assignments): 3 * 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.0006076/0.2538, allocations: 0.7299 MB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.2542, allocations: 79.86 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2542, allocations: 3.938 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.2543, allocations: 35.95 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2546, allocations: 4.375 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.255, allocations: 167.6 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2552, allocations: 0.6845 MB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.2552, allocations: 0 / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.2553, allocations: 15.44 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2553, allocations: 0 / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.271, allocations: 1.602 MB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.961, allocations: 9.875 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches