Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 105.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002835/0.002835, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 68.33 kB / 1.104 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3586, allocations: 168.7 MB / 1.269 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002035/0.3607, allocations: 0.7138 MB / 1.269 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.3617, allocations: 0.8277 MB / 1.27 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.3617, allocations: 0 / 1.27 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.3617, allocations: 3.938 kB / 1.27 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.3618, allocations: 11.94 kB / 1.27 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.3619, allocations: 15.97 kB / 1.27 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.362, allocations: 47.8 kB / 1.27 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3622, allocations: 11.97 kB / 1.27 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.3622, allocations: 19.98 kB / 1.27 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.3623, allocations: 15.92 kB / 1.27 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3623, allocations: 4 kB / 1.27 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.3623, allocations: 4 kB / 1.27 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.3623, allocations: 11.92 kB / 1.27 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.3624, allocations: 15.94 kB / 1.27 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3625, allocations: 52.02 kB / 1.271 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3625, allocations: 0 / 1.271 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3625, allocations: 0 / 1.271 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3625, allocations: 0 / 1.271 GB, free: 11.12 MB / 0.9825 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.0005385/0.363, allocations: 363.3 kB / 1.271 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.363, allocations: 12.03 kB / 1.271 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.3631, allocations: 34.75 kB / 1.271 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.3631, allocations: 4.891 kB / 1.271 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3633, allocations: 176.3 kB / 1.271 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3633, allocations: 384 / 1.271 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3633, allocations: 4.375 kB / 1.271 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.3635, allocations: 70.2 kB / 1.271 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3635, allocations: 3.938 kB / 1.271 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3635, allocations: 0 / 1.271 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3635, allocations: 0 / 1.271 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.3638, allocations: 67.92 kB / 1.271 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.3642, allocations: 276.8 kB / 1.271 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.3644, allocations: 50.48 kB / 1.272 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.3645, allocations: 44.91 kB / 1.272 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3645, allocations: 0 / 1.272 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3646, allocations: 34.56 kB / 1.272 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3646, allocations: 0 / 1.272 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005216/0.3651, allocations: 129.5 kB / 1.272 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.3651, allocations: 55.39 kB / 1.272 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.3652, allocations: 105.9 kB / 1.272 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3653, allocations: 25.7 kB / 1.272 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.3653, allocations: 88.12 kB / 1.272 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3654, allocations: 11.91 kB / 1.272 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.3654, allocations: 17.66 kB / 1.272 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3655, allocations: 322.8 kB / 1.272 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3657, allocations: 27.97 kB / 1.272 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3658, allocations: 31.95 kB / 1.272 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.3661, allocations: 72.73 kB / 1.272 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3661, allocations: 3.938 kB / 1.272 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002947/0.3664, allocations: 101.5 kB / 1.273 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3664, allocations: 10.34 kB / 1.273 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3664, allocations: 4 kB / 1.273 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3664, allocations: 0 / 1.273 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3665, allocations: 15.98 kB / 1.273 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3665, allocations: 0 / 1.273 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.3666, allocations: 15.94 kB / 1.273 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3666, allocations: 4 kB / 1.273 GB, free: 8.742 MB / 0.9825 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 8.113e-05/0.3667, allocations: 113.8 kB / 1.273 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3667, allocations: 3.984 kB / 1.273 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.3671, allocations: 113.5 kB / 1.273 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3671, allocations: 0 / 1.273 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3671, allocations: 0 / 1.273 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3671, allocations: 4 kB / 1.273 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3673, allocations: 169.5 kB / 1.273 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3673, allocations: 4 kB / 1.273 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/0.3673, allocations: 15.97 kB / 1.273 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3673, allocations: 0 / 1.273 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3674, allocations: 0 / 1.273 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3674, allocations: 8 kB / 1.273 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3674, allocations: 320 / 1.273 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.3677, allocations: 195.8 kB / 1.273 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3678, allocations: 81.14 kB / 1.273 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3678, allocations: 3.984 kB / 1.273 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.3679, allocations: 15.98 kB / 1.273 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3679, allocations: 4 kB / 1.273 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3679, allocations: 3.938 kB / 1.273 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.368, allocations: 91.25 kB / 1.273 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.368, allocations: 4 kB / 1.273 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002257/0.3682, allocations: 4 kB / 1.273 GB, free: 7.812 MB / 0.9825 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.0007229/0.3689, allocations: 0.7324 MB / 1.274 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.3692, allocations: 75.86 kB / 1.274 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3692, allocations: 0 / 1.274 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3694, allocations: 31.97 kB / 1.274 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3697, allocations: 19.86 kB / 1.274 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.3702, allocations: 163.6 kB / 1.274 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3705, allocations: 0.6885 MB / 1.275 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.3705, allocations: 0 / 1.275 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.3706, allocations: 15.44 kB / 1.275 GB, free: 6 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3706, allocations: 0 / 1.275 GB, free: 6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.3946, allocations: 1.644 MB / 1.277 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.242, allocations: 2.344 kB / 1.277 GB, free: 4.449 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.795728331897408]