Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 193.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.84 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6316/0.6336, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002067/0.6357, allocations: 0.7354 MB / 1.017 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.6367, allocations: 0.8118 MB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.6367, allocations: 0 / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.6368, allocations: 0 / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.6369, allocations: 3.938 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.637, allocations: 7.984 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.6371, allocations: 23.98 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.6372, allocations: 4 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.6373, allocations: 15.86 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.6373, allocations: 7.938 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.6373, allocations: 4 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.6373, allocations: 4 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.6374, allocations: 7.984 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.6374, allocations: 7.938 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.183e-05/0.6375, allocations: 23.95 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6375, allocations: 0 / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6375, allocations: 0 / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.6375, allocations: 0 / 1.018 GB, free: 1.27 MB / 0.7637 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.0004634/0.638, allocations: 333.5 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.638, allocations: 12.03 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.6381, allocations: 4.938 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.6382, allocations: 168.3 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.6382, allocations: 384 / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.6382, allocations: 8.375 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.6384, allocations: 42.23 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6384, allocations: 8.125 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.6385, allocations: 7.938 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6385, allocations: 0 / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.6387, allocations: 35.91 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.639, allocations: 241 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.6391, allocations: 46.48 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.6392, allocations: 16.91 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.6393, allocations: 4 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.6393, allocations: 34.5 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6393, allocations: 3.938 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003452/0.6396, allocations: 81.64 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.6397, allocations: 51.41 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.6398, allocations: 114 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.6398, allocations: 25.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.6398, allocations: 84.08 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.6399, allocations: 3.906 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.6399, allocations: 17.72 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.64, allocations: 314.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.6401, allocations: 15.98 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.6402, allocations: 19.98 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.6403, allocations: 36.77 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6404, allocations: 7.984 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.6405, allocations: 65.61 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.6406, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6406, allocations: 8.094 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.6406, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.6407, allocations: 11.98 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6407, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.6408, allocations: 11.89 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.6408, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 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.953e-05/0.6409, allocations: 114.3 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.6409, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.6411, allocations: 80.72 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6411, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6411, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6411, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.6413, allocations: 165.5 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6413, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.6414, allocations: 11.98 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6414, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-06/0.6414, allocations: 4.031 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6414, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6414, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.6416, allocations: 167.4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.6417, allocations: 77.11 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.6417, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.6418, allocations: 12.02 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.6418, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.6418, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.6419, allocations: 79.28 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6419, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002113/0.6421, allocations: 7.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 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.0001173/0.6422, allocations: 103.2 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.6424, allocations: 39.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6424, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.6425, allocations: 15.92 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.6428, allocations: 17.17 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.6431, allocations: 122.2 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.6433, allocations: 0.6731 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.6434, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.6434, allocations: 7.438 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6434, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.002195/0.6456, allocations: 362.6 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches