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.00113/0.00113, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.17 MB, free: 336 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 1.077/1.077, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 2.051/2.051, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.713e-06/1.713e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.212e-05, allocations: 6.562 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002081/0.002103, allocations: 0.7337 MB / 0.7608 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.00335, allocations: 0.8613 MB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.003388, allocations: 5.469 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.003415, allocations: 0 / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.003485, allocations: 5.797 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.00365, allocations: 17.22 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.486e-05/0.003725, allocations: 24.8 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.003807, allocations: 4 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.003891, allocations: 14.11 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.003932, allocations: 8.656 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.003946, allocations: 0.9844 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.00401, allocations: 11.92 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.00403, allocations: 9.203 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.004046, allocations: 5.844 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.004146, allocations: 24.91 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004148, allocations: 1.531 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004149, allocations: 0 / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.004153, allocations: 0 / 0.7618 GB, free: 4.832 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.0003187/0.004472, allocations: 234 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.004511, allocations: 8.031 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.004621, allocations: 9.547 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.004712, allocations: 107.1 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.004722, allocations: 384 / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-06/0.004727, allocations: 384 / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.004838, allocations: 58.94 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004847, allocations: 0.9375 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.004854, allocations: 1.25 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004859, allocations: 1.125 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.004884, allocations: 15.86 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.005097, allocations: 141.1 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.148e-05/0.005138, allocations: 24.77 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.005153, allocations: 8.922 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.005167, allocations: 0 / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.00519, allocations: 30.56 kB / 0.7624 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.005191, allocations: 4.656 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001204/0.005311, allocations: 40.64 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.005343, allocations: 59.34 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.005405, allocations: 106.7 kB / 0.7626 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.005417, allocations: 25.7 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.005454, allocations: 80.14 kB / 0.7627 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.005473, allocations: 13.16 kB / 0.7627 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.005508, allocations: 13.7 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.00574, allocations: 314.8 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.005751, allocations: 3.125 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-06/0.005759, allocations: 0 / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.005789, allocations: 20.78 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005791, allocations: 0 / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.597e-05/0.005847, allocations: 29.7 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.005863, allocations: 11.98 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005868, allocations: 1.812 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.005881, allocations: 0 / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.005949, allocations: 8.812 kB / 0.7631 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.005952, allocations: 0 / 0.7631 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.005976, allocations: 7.938 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.005981, allocations: 3.156 kB / 0.7631 GB, free: 3.336 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.882e-05/0.00604, allocations: 113.8 kB / 0.7632 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.006062, allocations: 4 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.006133, allocations: 44.94 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006135, allocations: 0 / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.006137, allocations: 4.922 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.006141, allocations: 4 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.006252, allocations: 68.67 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.006253, allocations: 0 / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.006286, allocations: 7.984 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006287, allocations: 0 / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.006294, allocations: 4 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006295, allocations: 0 / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006296, allocations: 0 / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.175e-05/0.006388, allocations: 145.8 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.006395, allocations: 7.953 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.006405, allocations: 0 / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.006462, allocations: 4 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.006489, allocations: 5.266 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.006492, allocations: 0 / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.388e-05/0.006506, allocations: 12.8 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006506, allocations: 1.094 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002027/0.006709, allocations: 4.5 kB / 0.7636 GB, free: 2.871 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.353e-05/0.006793, allocations: 77.89 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.974e-05/0.006852, allocations: 13.44 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.006855, allocations: 0 / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.006873, allocations: 14.14 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.007055, allocations: 8 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.007459, allocations: 113.8 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.007497, allocations: 56.06 kB / 0.7638 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.007519, allocations: 4.594 kB / 0.7638 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.007563, allocations: 53.09 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.007564, allocations: 0 / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.002357/0.009921, allocations: 461.4 kB / 0.7643 GB, free: 2.051 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 -s gbode -gbm=radauIIA3 -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.194948978256434]