Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.0008124/0.0008124, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000873/0.000873, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9389/0.9389, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Atan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.388e-05, allocations: 2.281 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001131/0.001145, allocations: 0.6703 MB / 0.9817 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.001854, allocations: 0.8432 MB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.001882, allocations: 0 / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.001906, allocations: 3.938 kB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.00196, allocations: 7.922 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.00213, allocations: 11.98 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.00219, allocations: 27.92 kB / 0.9826 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.38e-05/0.002273, allocations: 4 kB / 0.9826 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.002333, allocations: 15.92 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.002362, allocations: 7.938 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.002374, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.922e-05/0.002413, allocations: 8 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.002428, allocations: 11.97 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.002443, allocations: 4 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.338e-05/0.002526, allocations: 19.97 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.002529, allocations: 4 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.223e-06/0.00253, allocations: 0 / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.002533, allocations: 7.938 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002978/0.002831, allocations: 258.3 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.002866, allocations: 8.031 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.588e-05/0.002891, allocations: 38.73 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.002946, allocations: 8.891 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.462e-05/0.003011, allocations: 101.8 kB / 0.983 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003021, allocations: 8.375 kB / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.003029, allocations: 384 / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.003142, allocations: 50.23 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.003149, allocations: 8.125 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.003156, allocations: 384 / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.003161, allocations: 4.125 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/0.003244, allocations: 35.95 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.00348, allocations: 208.1 kB / 0.9833 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.098e-05/0.003561, allocations: 34.56 kB / 0.9834 GB, free: 16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.003603, allocations: 20.89 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.00362, allocations: 8 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.003639, allocations: 42.44 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.003639, allocations: 0 / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001986/0.003838, allocations: 81.58 kB / 0.9835 GB, free: 15.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.003869, allocations: 51.41 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.83e-05/0.003917, allocations: 97.86 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.003926, allocations: 25.7 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.003959, allocations: 100.2 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.003982, allocations: 11.88 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.004005, allocations: 13.72 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.004071, allocations: 310.8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.00411, allocations: 15.98 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.004147, allocations: 23.91 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/0.004218, allocations: 40.89 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.00422, allocations: 0 / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.306e-05/0.004313, allocations: 69.59 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.004323, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.004327, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.004338, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.004391, allocations: 11.92 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.004396, allocations: 0 / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.004418, allocations: 8.031 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.004422, allocations: 0 / 0.9843 GB, free: 15 MB / 0.948 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 (2): * Single equations (assignments): 2 * 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.768e-05/0.00447, allocations: 117.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.004481, allocations: 4.125 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.004599, allocations: 76.95 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.004601, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.004605, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.004607, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.787e-05/0.004695, allocations: 128.8 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004696, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.004719, allocations: 8 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.004722, allocations: 7.922 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.004727, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004728, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004728, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.00484, allocations: 163.4 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.004847, allocations: 11.94 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.004856, allocations: 8.031 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.004891, allocations: 4 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.004924, allocations: 3.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.004926, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.28e-05/0.004949, allocations: 79.28 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004949, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001365/0.005086, allocations: 4 kB / 0.9849 GB, free: 14.32 MB / 0.948 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 (2): * Single equations (assignments): 2 * 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.0002752/0.005361, allocations: 0.7084 MB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.00547, allocations: 31.97 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.005472, allocations: 4 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.005509, allocations: 15.98 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.005686, allocations: 7.984 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.005976, allocations: 134.6 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.006013, allocations: 59.36 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.799e-05/0.006031, allocations: 7.922 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.006061, allocations: 16.44 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/0.006061, allocations: 0 / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.01901, allocations: 1.933 MB / 0.9877 GB, free: 11.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/6.753, allocations: 8.062 kB / 0.9877 GB, free: 11.45 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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: 10.794639363884926]