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.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.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.001038/0.001038, allocations: 108 kB / 15.6 MB, free: 128 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.0009751/0.0009752, allocations: 197.8 kB / 16.53 MB, free: 6.672 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5698, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001706/0.5715, allocations: 0.699 MB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007229/0.5722, allocations: 0.8296 MB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.5723, allocations: 2.062 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.5723, allocations: 3.938 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.5724, allocations: 7.922 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.5725, allocations: 16.08 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.5726, allocations: 43.97 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.5727, allocations: 12.98 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.5727, allocations: 17.84 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.956e-05/0.5728, allocations: 21.28 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.5728, allocations: 3.719 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.5728, allocations: 4.031 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.5728, allocations: 9.406 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.5729, allocations: 18.73 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.022e-05/0.5729, allocations: 44.27 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.573, allocations: 0 / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.573, allocations: 0 / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.573, allocations: 4 kB / 0.9514 GB, free: 7.801 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.0004217/0.5734, allocations: 364.8 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.5735, allocations: 11 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.5735, allocations: 34.75 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.5735, allocations: 2.562 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.879e-05/0.5736, allocations: 171 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5736, allocations: 5.625 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.5736, allocations: 10.56 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.5738, allocations: 70.55 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5739, allocations: 5.625 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.5739, allocations: 0 / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5739, allocations: 0 / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.5742, allocations: 59.31 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.5744, allocations: 279.1 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.5746, allocations: 52.62 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.5748, allocations: 43.48 kB / 0.9525 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.5748, allocations: 9.188 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.5748, allocations: 31.69 kB / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5748, allocations: 0 / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005303/0.5754, allocations: 133.4 kB / 0.9527 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.5754, allocations: 52.75 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.5755, allocations: 107.8 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.5755, allocations: 25.7 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.5755, allocations: 89.41 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.5755, allocations: 10.34 kB / 0.9529 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.5756, allocations: 16.16 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.5756, allocations: 312.1 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.5758, allocations: 37.2 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.5759, allocations: 29.78 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.5761, allocations: 75.38 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5762, allocations: 4 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002894/0.5765, allocations: 101.3 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5765, allocations: 5.688 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5765, allocations: 3.984 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5765, allocations: 1.281 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.5766, allocations: 18.58 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5766, allocations: 0 / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.5767, allocations: 14.77 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.5767, allocations: 1.188 kB / 0.9535 GB, free: 5.781 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.499e-05/0.5768, allocations: 111.2 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.5768, allocations: 3.031 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.5771, allocations: 111.7 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5772, allocations: 7.922 kB / 0.9537 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5772, allocations: 1.375 kB / 0.9537 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5772, allocations: 0 / 0.9537 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.5773, allocations: 174 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5773, allocations: 0 / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.5774, allocations: 14.92 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5774, allocations: 0 / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.5774, allocations: 3.938 kB / 0.9539 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5774, allocations: 5.141 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5774, allocations: 4 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.5777, allocations: 196.5 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.5778, allocations: 78.11 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.5778, allocations: 5.609 kB / 0.9542 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.5779, allocations: 18.62 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.5779, allocations: 5.5 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.5779, allocations: 1.281 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.578, allocations: 86.05 kB / 0.9543 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.578, allocations: 0 / 0.9543 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002113/0.5782, allocations: 10.41 kB / 0.9543 GB, free: 4.984 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.0004894/0.5787, allocations: 0.7359 MB / 0.955 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.579, allocations: 71.36 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.579, allocations: 4 kB / 0.9551 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.5792, allocations: 32.06 kB / 0.9551 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.5795, allocations: 5.531 kB / 0.9552 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.5798, allocations: 157 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.523e-05/0.5799, allocations: 0.6865 MB / 0.956 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.58, allocations: 6.141 kB / 0.956 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.58, allocations: 12.88 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.58, allocations: 1.5 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06144/0.6415, allocations: 1.595 MB / 0.9575 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/9.371, allocations: 9.828 kB / 0.9576 GB, free: 2.461 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