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.001542/0.001542, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001824/0.001824, allocations: 165 kB / 24.17 MB, free: 328 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.9848/0.9848, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.901/1.901, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/2.032e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001787/0.001807, allocations: 0.6939 MB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002906, allocations: 0.86 MB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.002941, allocations: 0 / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.002969, allocations: 0.75 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.003046, allocations: 11.45 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.003247, allocations: 7.984 kB / 0.7616 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.003329, allocations: 28.8 kB / 0.7616 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.003413, allocations: 5.172 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.003507, allocations: 16.86 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.003548, allocations: 4.656 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.003563, allocations: 4.812 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.003614, allocations: 12.91 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.003636, allocations: 5.344 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.003654, allocations: 5.969 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003758, allocations: 20.95 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.00376, allocations: 0 / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00376, allocations: 1.125 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.003764, allocations: 0 / 0.7617 GB, free: 4.867 MB / 0.7136 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.0003672/0.004131, allocations: 233.9 kB / 0.7619 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.004167, allocations: 8.031 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.004263, allocations: 12.83 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.004357, allocations: 111.7 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.004369, allocations: 4.375 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.004378, allocations: 384 / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.004485, allocations: 60.19 kB / 0.7621 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004491, allocations: 192 / 0.7621 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.004497, allocations: 384 / 0.7621 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.004503, allocations: 1.578 kB / 0.7621 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.004525, allocations: 8.562 kB / 0.7621 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.004722, allocations: 144.8 kB / 0.7623 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.415e-05/0.004766, allocations: 24.17 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.004779, allocations: 4.922 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.004792, allocations: 4 kB / 0.7623 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004813, allocations: 30.56 kB / 0.7623 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004814, allocations: 1.031 kB / 0.7623 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001103/0.004924, allocations: 41.67 kB / 0.7624 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.004958, allocations: 56.09 kB / 0.7624 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.005022, allocations: 106.7 kB / 0.7625 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.005033, allocations: 31.33 kB / 0.7626 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.005066, allocations: 80.14 kB / 0.7626 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.005082, allocations: 8.703 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.005112, allocations: 13.72 kB / 0.7627 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.005193, allocations: 317 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.005204, allocations: 4 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.005212, allocations: 0 / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.005236, allocations: 12.84 kB / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005238, allocations: 2.125 kB / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.498e-05/0.005293, allocations: 37.64 kB / 0.763 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.005306, allocations: 9.703 kB / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005309, allocations: 0 / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.005322, allocations: 1.812 kB / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/0.005381, allocations: 11.94 kB / 0.763 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005383, allocations: 0.9844 kB / 0.763 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.005405, allocations: 3.938 kB / 0.763 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.00541, allocations: 7.094 kB / 0.7631 GB, free: 3.363 MB / 0.7136 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 5.895e-05/0.005469, allocations: 113.8 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.005489, allocations: 0 / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.005559, allocations: 48.94 kB / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005561, allocations: 0 / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.005564, allocations: 3.938 kB / 0.7632 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.005567, allocations: 0 / 0.7632 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.005681, allocations: 66.67 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005683, allocations: 2.781 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.005708, allocations: 7.984 kB / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.005709, allocations: 4 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.005713, allocations: 0 / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005714, allocations: 0 / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005716, allocations: 0 / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.403e-05/0.0058, allocations: 141.9 kB / 0.7634 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.00581, allocations: 11.94 kB / 0.7634 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.005819, allocations: 0 / 0.7634 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.066e-05/0.005869, allocations: 0 / 0.7634 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.005902, allocations: 12.48 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.005904, allocations: 0.8438 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.107e-05/0.005996, allocations: 16.78 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005996, allocations: 0 / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002103/0.006206, allocations: 5.312 kB / 0.7635 GB, free: 2.895 MB / 0.7136 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.443e-05/0.00629, allocations: 75.98 kB / 0.7635 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.932e-05/0.00635, allocations: 16.84 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006352, allocations: 0 / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.006368, allocations: 8.859 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.006549, allocations: 8 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.006933, allocations: 112.8 kB / 0.7637 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.006971, allocations: 59.34 kB / 0.7637 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.75e-05/0.006988, allocations: 0 / 0.7637 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.007036, allocations: 55.38 kB / 0.7638 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/0.007037, allocations: 0 / 0.7638 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of Templates: time 0.002216/0.009253, allocations: 454 kB / 0.7642 GB, free: 2.082 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 240] 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","",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.023589629679918]