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.001186/0.001186, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001241/0.001241, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.578/2.578, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.89 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.932/0.9335, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002065/0.9356, allocations: 0.6638 MB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.9367, allocations: 0.8117 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.9368, allocations: 4 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.9368, allocations: 0 / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-05/0.9369, allocations: 7.922 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.9371, allocations: 7.984 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.9372, allocations: 31.92 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.9373, allocations: 4 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.9374, allocations: 8 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.9374, allocations: 11.92 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.9374, allocations: 4 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.9374, allocations: 0 / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.9375, allocations: 4 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.9375, allocations: 19.91 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.484e-05/0.9376, allocations: 19.91 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9376, allocations: 4 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9376, allocations: 0 / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.9376, allocations: 0 / 1.169 GB, free: 2.211 MB / 0.8887 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.000471/0.9381, allocations: 335.3 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9381, allocations: 12.92 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.9382, allocations: 4.938 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.9383, allocations: 164.4 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.9383, allocations: 384 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.9383, allocations: 4.312 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.9385, allocations: 54.23 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.9385, allocations: 192 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.9386, allocations: 7.875 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9386, allocations: 0 / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.9388, allocations: 39.94 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.9391, allocations: 240.9 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.9393, allocations: 54.47 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.9394, allocations: 23.34 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.9394, allocations: 4 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.9394, allocations: 30.56 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9394, allocations: 0 / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003535/0.9398, allocations: 89.55 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.9398, allocations: 51.41 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.9399, allocations: 105.7 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.9399, allocations: 25.7 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.94, allocations: 84.14 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.94, allocations: 7.906 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.9401, allocations: 13.84 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9402, allocations: 314.8 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.9403, allocations: 19.97 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.9403, allocations: 15.98 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.9405, allocations: 36.83 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9405, allocations: 4.062 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.9407, allocations: 69.59 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.9408, allocations: 4 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9408, allocations: 3.938 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9408, allocations: 0 / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.9409, allocations: 11.98 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9409, allocations: 0 / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.941, allocations: 8.031 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.941, allocations: 3.984 kB / 1.171 GB, free: 188 kB / 0.8887 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.819e-05/0.9411, allocations: 113.8 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.9411, allocations: 4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.9414, allocations: 64.78 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.9414, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.9414, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.9414, allocations: 4.031 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.9416, allocations: 161.6 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9416, allocations: 4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.9416, allocations: 7.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9416, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.9416, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.9417, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/0.9417, allocations: 11.98 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.9419, allocations: 167.3 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.942, allocations: 86.92 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.942, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.9421, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.9421, allocations: 7.984 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.9421, allocations: 3.938 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.9422, allocations: 79.28 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9422, allocations: 4.031 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002119/0.9424, allocations: 4 kB / 1.171 GB, free: 15.37 MB / 0.9044 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.0001425/0.9425, allocations: 99.25 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.9427, allocations: 39.89 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9428, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.9428, allocations: 24.05 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.9431, allocations: 7.938 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.9435, allocations: 137 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.9438, allocations: 0.6768 MB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.9438, allocations: 15.44 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9438, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.001954/0.9458, allocations: 0.5347 MB / 1.173 GB, free: 13.77 MB / 0.9044 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/jenkins1/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