Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001212/0.001212, 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.001192/0.001192, allocations: 196.8 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/0.5317, allocations: 140.4 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001643/0.5333, allocations: 0.7716 MB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006209/0.534, allocations: 0.826 MB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.534, allocations: 1.312 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.534, allocations: 3.938 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.5341, allocations: 9.25 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.5342, allocations: 10.42 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.5343, allocations: 41.45 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.5344, allocations: 15.66 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.5344, allocations: 14.14 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.5345, allocations: 21.05 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.5345, allocations: 2.781 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.5345, allocations: 2.969 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.5345, allocations: 11.98 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.5346, allocations: 15.25 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.843e-05/0.5346, allocations: 47.61 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5346, allocations: 0 / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.91e-07/0.5346, allocations: 0 / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.5346, allocations: 1.312 kB / 0.9508 GB, free: 7.766 MB / 0.7169 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.0003688/0.535, allocations: 363.9 kB / 0.9512 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.535, allocations: 10.03 kB / 0.9512 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.068e-05/0.5351, allocations: 36.16 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.994e-05/0.5351, allocations: 2.219 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.361e-05/0.5352, allocations: 171.9 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.5352, allocations: 4.312 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.5352, allocations: 2.781 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.5354, allocations: 71.77 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.5354, allocations: 3.938 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.5354, allocations: 0 / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5354, allocations: 5.219 kB / 0.9515 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.5357, allocations: 67.11 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.5359, allocations: 266.7 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.5361, allocations: 53.8 kB / 0.9518 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.5363, allocations: 38.75 kB / 0.9519 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5363, allocations: 1.156 kB / 0.9519 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.5363, allocations: 42.48 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5363, allocations: 1.125 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004715/0.5368, allocations: 133.2 kB / 0.952 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.5368, allocations: 52.78 kB / 0.9521 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.5369, allocations: 107.8 kB / 0.9522 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-06/0.5369, allocations: 25.7 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.5369, allocations: 86.58 kB / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.5369, allocations: 13.34 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.537, allocations: 16.12 kB / 0.9523 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.223e-05/0.537, allocations: 316.2 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5371, allocations: 29 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.5373, allocations: 34.05 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.5375, allocations: 74.52 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5375, allocations: 1.469 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000277/0.5378, allocations: 100.2 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.5378, allocations: 9.281 kB / 0.9529 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.5378, allocations: 5.062 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.5378, allocations: 0 / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.5379, allocations: 14.02 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.538, allocations: 1.469 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.538, allocations: 18.42 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.538, allocations: 1.219 kB / 0.9529 GB, free: 5.754 MB / 0.7169 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 4.269e-05/0.5381, allocations: 120 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.5381, allocations: 5.594 kB / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.5384, allocations: 103.9 kB / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.5384, allocations: 1.562 kB / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5385, allocations: 0 / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5385, allocations: 0 / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.5386, allocations: 170.2 kB / 0.9533 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5386, allocations: 0 / 0.9533 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.5387, allocations: 22.16 kB / 0.9533 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5387, allocations: 5.344 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.5387, allocations: 0 / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5387, allocations: 0 / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5387, allocations: 1.406 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.539, allocations: 203.2 kB / 0.9535 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.539, allocations: 82.78 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.539, allocations: 0.5625 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.5391, allocations: 11.36 kB / 0.9536 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.5392, allocations: 2.016 kB / 0.9536 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.5392, allocations: 1.375 kB / 0.9536 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.413e-05/0.5392, allocations: 88.89 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5392, allocations: 1.281 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002106/0.5394, allocations: 9.688 kB / 0.9537 GB, free: 4.965 MB / 0.7169 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.000443/0.5399, allocations: 0.737 MB / 0.9544 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.5402, allocations: 71.8 kB / 0.9545 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.5402, allocations: 0 / 0.9545 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.5403, allocations: 36.86 kB / 0.9545 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.5406, allocations: 7.188 kB / 0.9545 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.541, allocations: 173.9 kB / 0.9547 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.541, allocations: 0.6799 MB / 0.9553 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.5411, allocations: 1.312 kB / 0.9553 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.5411, allocations: 12.88 kB / 0.9554 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5411, allocations: 0 / 0.9554 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4344/0.9755, allocations: 1.367 MB / 0.9567 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.9757, allocations: 209.9 kB / 0.9569 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.966, allocations: 0 / 0.9569 GB, free: 2.359 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches