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.001576/0.001577, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001778/0.001778, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.503/1.503, 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.602/2.602, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 59.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.9251, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002233/0.9274, allocations: 0.6578 MB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.9285, allocations: 0.8195 MB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.9286, allocations: 4 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.9286, allocations: 0 / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.9288, allocations: 7.938 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.9289, allocations: 7.984 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.929, allocations: 19.94 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.9291, allocations: 15.97 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.9292, allocations: 7.938 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.9293, allocations: 11.98 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.9293, allocations: 4 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.9293, allocations: 0 / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.9293, allocations: 4 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.9294, allocations: 15.94 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.235e-05/0.9295, allocations: 23.89 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9295, allocations: 0 / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9295, allocations: 0 / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.9295, allocations: 0 / 1.169 GB, free: 2.25 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.0004934/0.93, allocations: 335.3 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.93, allocations: 12.62 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.9301, allocations: 0.9375 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.9302, allocations: 168.3 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.9302, allocations: 8.375 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.9302, allocations: 384 / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.9304, allocations: 50.23 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9304, allocations: 4.172 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.9305, allocations: 3.938 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9305, allocations: 3.938 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.9306, allocations: 35.95 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.931, allocations: 245 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.9311, allocations: 46.44 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.9312, allocations: 27.33 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.9313, allocations: 0 / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.9313, allocations: 38.56 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.9313, allocations: 0 / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003751/0.9317, allocations: 81.48 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.9318, allocations: 59.34 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.9318, allocations: 97.86 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.9319, allocations: 25.7 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.9319, allocations: 88.27 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.932, allocations: 7.891 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.932, allocations: 13.72 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9322, allocations: 314.8 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.9323, allocations: 15.98 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.9324, allocations: 15.97 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.9325, allocations: 44.89 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9325, allocations: 4 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002156/0.9328, allocations: 69.53 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9328, allocations: 8 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9328, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.9328, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.9329, allocations: 8.016 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.9329, allocations: 8 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.933, allocations: 0 / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.933, allocations: 4 kB / 1.171 GB, free: 228 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.959e-05/0.9331, allocations: 105.8 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.9331, allocations: 3.938 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.9334, allocations: 76.77 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9334, allocations: 4.031 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9334, allocations: 0 / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.9335, allocations: 81.05 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.9335, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.9336, allocations: 7.984 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.9336, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002869/0.9339, allocations: 152.9 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002853/0.9342, allocations: 238.7 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.867e-05/0.9343, allocations: 19.91 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.9344, allocations: 83.28 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of Backend: time 6.21e-07/0.9344, allocations: 4.062 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.9348, allocations: 100.1 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000524/0.9354, allocations: 0.5594 MB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.002878/0.9383, allocations: 0.5282 MB / 1.173 GB, free: 14.16 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