Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001955/0.001955, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.00209/0.00209, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.398/3.398, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.281e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001847/0.00188, allocations: 0.666 MB / 0.8782 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.003464, allocations: 0.8545 MB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.003499, allocations: 0 / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.003519, allocations: 0 / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.003591, allocations: 6.75 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.003769, allocations: 13.52 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.003846, allocations: 25.92 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.003929, allocations: 4 kB / 0.8791 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.102e-05/0.00401, allocations: 11.98 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.004052, allocations: 16.83 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.004066, allocations: 0 / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.48e-05/0.004111, allocations: 7.984 kB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.004125, allocations: 4.656 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.004146, allocations: 4 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004263, allocations: 40.42 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004265, allocations: 1.531 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004265, allocations: 0 / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.004269, allocations: 0 / 0.8791 GB, free: 4.941 MB / 0.8386 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.0004838/0.004753, allocations: 356.3 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.004793, allocations: 13.41 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.004907, allocations: 4.875 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005039, allocations: 116.6 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.005054, allocations: 384 / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.005065, allocations: 7.562 kB / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.005227, allocations: 46.23 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.005237, allocations: 192 / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.005246, allocations: 384 / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.00525, allocations: 384 / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.005371, allocations: 27.86 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.005775, allocations: 247.8 kB / 0.8799 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.005898, allocations: 39.69 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.005964, allocations: 25.39 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.005987, allocations: 0 / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.006035, allocations: 37.39 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.006036, allocations: 0 / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003004/0.006336, allocations: 70.89 kB / 0.8801 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.006391, allocations: 51.41 kB / 0.8801 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.006518, allocations: 162.1 kB / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.006536, allocations: 25.7 kB / 0.8803 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.006625, allocations: 134.9 kB / 0.8804 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.006647, allocations: 7.938 kB / 0.8804 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.006687, allocations: 19.38 kB / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002695/0.006957, allocations: 496.1 kB / 0.8809 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.007022, allocations: 11.98 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.007067, allocations: 8 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.007171, allocations: 39.67 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007173, allocations: 0 / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001438/0.007317, allocations: 49.69 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.007334, allocations: 14.48 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.007341, allocations: 7.875 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.007355, allocations: 192 / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.007426, allocations: 4 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.007431, allocations: 0 / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.007472, allocations: 7.953 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.00748, allocations: 3.984 kB / 0.8811 GB, free: 2.75 MB / 0.8386 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 0.0001269/0.007607, allocations: 168.6 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.00763, allocations: 0 / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.007816, allocations: 64.88 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.00782, allocations: 3.984 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.007825, allocations: 4 kB / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.007828, allocations: 0 / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.007988, allocations: 112.6 kB / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007989, allocations: 0 / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.008036, allocations: 7.984 kB / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.008038, allocations: 4.031 kB / 0.8814 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.008044, allocations: 0 / 0.8814 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.008048, allocations: 3.938 kB / 0.8814 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.008051, allocations: 7.984 kB / 0.8814 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.00829, allocations: 203.9 kB / 0.8816 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.008301, allocations: 7.922 kB / 0.8816 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.008312, allocations: 0 / 0.8816 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.008372, allocations: 7.938 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.008405, allocations: 0 / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.008408, allocations: 4.031 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.821e-05/0.008487, allocations: 131.2 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008487, allocations: 0 / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002/0.008687, allocations: 7.953 kB / 0.8818 GB, free: 1.953 MB / 0.8386 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.0001225/0.008809, allocations: 91.25 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.008977, allocations: 35.67 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.008979, allocations: 0 / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.009052, allocations: 31.67 kB / 0.8819 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.009285, allocations: 4 kB / 0.8819 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.009597, allocations: 110.5 kB / 0.882 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.024e-05/0.009678, allocations: 67.14 kB / 0.8821 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.009699, allocations: 0 / 0.8821 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.009733, allocations: 12.5 kB / 0.8821 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.009733, allocations: 0 / 0.8821 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of Templates: time 0.003519/0.01325, allocations: 483.4 kB / 0.8826 GB, free: 1.082 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.471793741104193]