Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.052/3.052, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 75.83 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.148, allocations: 176.1 MB / 1.322 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002062/1.15, allocations: 0.7056 MB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009688/1.151, allocations: 0.8788 MB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/1.151, allocations: 0 / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/1.151, allocations: 3.938 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/1.151, allocations: 11.25 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/1.152, allocations: 17.44 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.499e-05/1.152, allocations: 48.38 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/1.152, allocations: 10.05 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/1.152, allocations: 23.25 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/1.152, allocations: 19.89 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/1.152, allocations: 2.906 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/1.152, allocations: 16.59 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/1.152, allocations: 4 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/1.152, allocations: 18.36 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/1.152, allocations: 50.02 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.152, allocations: 0 / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.254e-06/1.152, allocations: 0 / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.152, allocations: 0 / 1.323 GB, free: 23.56 MB / 1.061 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.0005371/1.153, allocations: 370.8 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.153, allocations: 12.67 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.375e-05/1.153, allocations: 192 / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.326e-05/1.153, allocations: 37.03 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.811e-05/1.153, allocations: 3.969 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/1.153, allocations: 171.1 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.153, allocations: 12.31 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/1.153, allocations: 11.2 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/1.153, allocations: 75.75 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.153, allocations: 0 / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/1.153, allocations: 3.938 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.153, allocations: 3.234 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/1.154, allocations: 64.17 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/1.154, allocations: 267.1 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/1.154, allocations: 54.84 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/1.154, allocations: 40.34 kB / 1.324 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/1.154, allocations: 4 kB / 1.324 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/1.154, allocations: 30.56 kB / 1.324 GB, free: 22.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.154, allocations: 0 / 1.324 GB, free: 22.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000549/1.155, allocations: 128.2 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/1.155, allocations: 59.41 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/1.155, allocations: 111.8 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/1.155, allocations: 25.7 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/1.155, allocations: 89.98 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/1.155, allocations: 14.2 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/1.155, allocations: 16.09 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/1.155, allocations: 322.2 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/1.155, allocations: 34.19 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/1.155, allocations: 31.12 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/1.156, allocations: 66.78 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.156, allocations: 0 / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002981/1.156, allocations: 98.19 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.156, allocations: 5.812 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.156, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.156, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/1.156, allocations: 22.33 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.156, allocations: 0 / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/1.156, allocations: 17.28 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/1.156, allocations: 2.938 kB / 1.325 GB, free: 21.71 MB / 1.061 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.551e-05/1.156, allocations: 117.2 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/1.156, allocations: 6.859 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/1.157, allocations: 105.2 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.157, allocations: 8.312 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.157, allocations: 0 / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.157, allocations: 0 / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/1.157, allocations: 172 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.157, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/1.157, allocations: 18.02 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.157, allocations: 3.984 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/1.157, allocations: 3.938 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.157, allocations: 4 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.157, allocations: 2.719 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/1.157, allocations: 199 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/1.157, allocations: 81.06 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/1.157, allocations: 4 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/1.157, allocations: 11.97 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/1.157, allocations: 7.375 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/1.157, allocations: 2.781 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.825e-05/1.157, allocations: 88.19 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.157, allocations: 0 / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002092/1.158, allocations: 5.594 kB / 1.326 GB, free: 20.98 MB / 1.061 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.0005643/1.158, allocations: 0.7323 MB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003439/1.159, allocations: 67.97 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.159, allocations: 0 / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/1.159, allocations: 41.69 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/1.159, allocations: 6.844 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/1.16, allocations: 154.7 kB / 1.327 GB, free: 20.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/1.16, allocations: 0.6874 MB / 1.328 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.7e-05/1.16, allocations: 4 kB / 1.328 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/1.16, allocations: 14.12 kB / 1.328 GB, free: 19.42 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.16, allocations: 0 / 1.328 GB, free: 19.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/1.178, allocations: 1.675 MB / 1.33 GB, free: 19.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/9.564, allocations: 3.531 kB / 1.33 GB, free: 19.01 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.41058908897685]