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.001329/0.001329, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.001375/0.001375, allocations: 165 kB / 24.05 MB, free: 452 kB / 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.9735/0.9735, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.112/2.112, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] 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.315e-06/2.315e-06, allocations: 0 / 0.8795 GB, free: 4.812 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.601e-05, allocations: 6.25 kB / 0.8795 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001456/0.001482, allocations: 0.6776 MB / 0.8801 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002509, allocations: 0.8694 MB / 0.881 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.002552, allocations: 0.7656 kB / 0.881 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.002587, allocations: 5.062 kB / 0.881 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.002676, allocations: 9.188 kB / 0.881 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.002889, allocations: 5.484 kB / 0.881 GB, free: 3.254 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.736e-05/0.002976, allocations: 32.73 kB / 0.881 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.00308, allocations: 3.984 kB / 0.881 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.003173, allocations: 17.58 kB / 0.881 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.003217, allocations: 9.672 kB / 0.8811 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.003233, allocations: 4 kB / 0.8811 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.003285, allocations: 5.281 kB / 0.8811 GB, free: 3.191 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.003307, allocations: 4.375 kB / 0.8811 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.003326, allocations: 8 kB / 0.8811 GB, free: 3.18 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.00345, allocations: 25.05 kB / 0.8811 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003452, allocations: 0 / 0.8811 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003453, allocations: 0 / 0.8811 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.003458, allocations: 1.031 kB / 0.8811 GB, free: 3.156 MB / 0.7917 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.0003735/0.003831, allocations: 360.7 kB / 0.8814 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.003875, allocations: 13.56 kB / 0.8815 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.003982, allocations: 4.875 kB / 0.8815 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.004085, allocations: 112.6 kB / 0.8816 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.004098, allocations: 384 / 0.8816 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.004107, allocations: 8.359 kB / 0.8816 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.004224, allocations: 56.11 kB / 0.8816 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.00423, allocations: 192 / 0.8816 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.00424, allocations: 4.375 kB / 0.8816 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004244, allocations: 0.875 kB / 0.8816 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.004266, allocations: 8.781 kB / 0.8816 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.00455, allocations: 228.4 kB / 0.8819 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.822e-05/0.004608, allocations: 34.53 kB / 0.8819 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.004628, allocations: 15.69 kB / 0.8819 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.004644, allocations: 0 / 0.8819 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.004667, allocations: 33.39 kB / 0.8819 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.004668, allocations: 0 / 0.8819 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.00481, allocations: 41.64 kB / 0.882 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.004846, allocations: 59.39 kB / 0.882 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.005161, allocations: 157.9 kB / 0.8822 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005172, allocations: 29.83 kB / 0.8822 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.005222, allocations: 126.9 kB / 0.8823 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.005244, allocations: 3.953 kB / 0.8823 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.005279, allocations: 27.36 kB / 0.8824 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.005422, allocations: 492.1 kB / 0.8828 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.005437, allocations: 7.938 kB / 0.8828 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-06/0.005446, allocations: 0 / 0.8828 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.005475, allocations: 15.67 kB / 0.8829 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005477, allocations: 0 / 0.8829 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.971e-05/0.005537, allocations: 41.75 kB / 0.8829 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.00555, allocations: 4 kB / 0.8829 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.005556, allocations: 4 kB / 0.8829 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.005567, allocations: 3.938 kB / 0.8829 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.005632, allocations: 4 kB / 0.8829 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.005638, allocations: 7.938 kB / 0.8829 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.00566, allocations: 11.98 kB / 0.8829 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.005664, allocations: 0 / 0.8829 GB, free: 1.082 MB / 0.7917 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 7.269e-05/0.005737, allocations: 152.6 kB / 0.8831 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.005753, allocations: 7.953 kB / 0.8831 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.36e-05/0.005837, allocations: 45.03 kB / 0.8831 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.00584, allocations: 3.938 kB / 0.8831 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.005843, allocations: 4 kB / 0.8831 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.005847, allocations: 192 / 0.8831 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.491e-05/0.005942, allocations: 93.27 kB / 0.8832 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005943, allocations: 0 / 0.8832 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.005967, allocations: 11.97 kB / 0.8832 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.005967, allocations: 3.938 kB / 0.8832 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.005973, allocations: 0 / 0.8832 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.005974, allocations: 0 / 0.8832 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.005975, allocations: 4.031 kB / 0.8832 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.918e-05/0.006074, allocations: 195.8 kB / 0.8834 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.006084, allocations: 3.938 kB / 0.8834 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.006094, allocations: 0 / 0.8834 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.006123, allocations: 4 kB / 0.8834 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.006156, allocations: 3.984 kB / 0.8834 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.006161, allocations: 3.938 kB / 0.8834 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.006203, allocations: 123.2 kB / 0.8836 GB, free: 380 kB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.006203, allocations: 0 / 0.8836 GB, free: 380 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001416/0.006344, allocations: 4 kB / 0.8836 GB, free: 376 kB / 0.7917 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 8.445e-05/0.006429, allocations: 95.28 kB / 0.8837 GB, free: 268 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.648e-05/0.006505, allocations: 23.61 kB / 0.8837 GB, free: 240 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.006506, allocations: 0 / 0.8837 GB, free: 240 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.006527, allocations: 19.67 kB / 0.8837 GB, free: 216 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.006721, allocations: 4 kB / 0.8837 GB, free: 212 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.00713, allocations: 122.5 kB / 0.8838 GB, free: 60 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.384e-05/0.007184, allocations: 63.28 kB / 0.8839 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.633e-05/0.0072, allocations: 0 / 0.8839 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.007251, allocations: 70.2 kB / 0.884 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of SimCode: time 4.268e-06/0.007255, allocations: 0 / 0.884 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.002274/0.009529, allocations: 0.5127 MB / 0.8845 GB, free: 15.4 MB / 0.8073 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.398542486131191]