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.001423/0.001423, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001659/0.001659, allocations: 165 kB / 23.82 MB, free: 0.7383 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.042/1.042, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.897/1.897, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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: 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 3.106e-06/3.106e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.533e-05, allocations: 3.078 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.006988/0.007024, allocations: 0.6908 MB / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.008243, allocations: 0.8625 MB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.008282, allocations: 1.75 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.008319, allocations: 3.938 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.008398, allocations: 4 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.008638, allocations: 11.92 kB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.00873, allocations: 28.77 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.008841, allocations: 4 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.008938, allocations: 19.92 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.008978, allocations: 0.6562 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.008998, allocations: 5.375 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.009066, allocations: 11.92 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.009087, allocations: 7.984 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.009112, allocations: 8 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.009244, allocations: 17.23 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.009248, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd: time 1.473e-06/0.009249, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.009256, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 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.000498/0.009754, allocations: 361.3 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.009806, allocations: 16.92 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.009951, allocations: 4.938 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.01009, allocations: 104.6 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.01011, allocations: 1.031 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.01012, allocations: 4.375 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.0103, allocations: 59.58 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.01031, allocations: 1.438 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.01032, allocations: 384 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.01033, allocations: 384 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.16e-05/0.01037, allocations: 11.92 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.01073, allocations: 246 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.571e-05/0.01081, allocations: 31 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.01084, allocations: 11.67 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.01086, allocations: 3.984 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.01089, allocations: 38.3 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.01089, allocations: 0 / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.01109, allocations: 47.12 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.01113, allocations: 51.41 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.01123, allocations: 165.9 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.01124, allocations: 25.7 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.0113, allocations: 131.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.01133, allocations: 7.891 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.01138, allocations: 24.09 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.01154, allocations: 496.1 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.01156, allocations: 8.562 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.01157, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.01162, allocations: 17 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01162, allocations: 0 / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.632e-05/0.01171, allocations: 34.61 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01172, allocations: 4 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.01173, allocations: 8.469 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01175, allocations: 3.984 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.01186, allocations: 9.312 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01187, allocations: 0 / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.01189, allocations: 7.938 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.0119, allocations: 1.281 kB / 0.8151 GB, free: 13.91 MB / 0.7761 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 9.186e-05/0.01199, allocations: 156.6 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.01202, allocations: 7.984 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.01215, allocations: 41.61 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.01215, allocations: 8.703 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01216, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01216, allocations: 1.531 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.01231, allocations: 116.6 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.01232, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.154e-05/0.01238, allocations: 7.984 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01238, allocations: 0.5938 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.01239, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.01239, allocations: 5.781 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.0124, allocations: 7.938 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.01255, allocations: 183.9 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-06/0.01256, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01257, allocations: 4.875 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.01264, allocations: 3.938 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.01268, allocations: 11.47 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.01269, allocations: 3.984 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.01274, allocations: 123.2 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01274, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002476/0.01299, allocations: 4 kB / 0.8158 GB, free: 13.17 MB / 0.7761 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.0001324/0.01312, allocations: 91.25 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.01324, allocations: 23.61 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01325, allocations: 4.562 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.01328, allocations: 17.44 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.01359, allocations: 5.484 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.01423, allocations: 123.5 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.609e-05/0.0143, allocations: 59.34 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.392e-05/0.01433, allocations: 1.531 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.01437, allocations: 8.5 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of SimCode: time 1.994e-06/0.01438, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002312/0.01669, allocations: 0.4891 MB / 0.8166 GB, free: 12.32 MB / 0.7761 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.222806862089783]