Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.447/1.447, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.88 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6903, allocations: 140.4 MB / 0.9496 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001947/0.6923, allocations: 0.7247 MB / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.6932, allocations: 0.8121 MB / 0.9511 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.6932, allocations: 0 / 0.9511 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.6933, allocations: 1.062 kB / 0.9511 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.6934, allocations: 7.922 kB / 0.9511 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.6935, allocations: 10.39 kB / 0.9511 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.6936, allocations: 20.7 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.6937, allocations: 7.5 kB / 0.9511 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.6937, allocations: 7.281 kB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.6938, allocations: 14.55 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.6938, allocations: 1.281 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.6938, allocations: 1.375 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.6938, allocations: 1.094 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.6939, allocations: 14.33 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.722e-05/0.6939, allocations: 13.98 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6939, allocations: 5.125 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6939, allocations: 0 / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.694, allocations: 0 / 0.9512 GB, free: 8.016 MB / 0.7169 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.0004005/0.6944, allocations: 339.2 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6944, allocations: 9.625 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.6945, allocations: 2.312 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.6946, allocations: 173.4 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.6946, allocations: 1.469 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.6946, allocations: 1.469 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.6948, allocations: 53.17 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6948, allocations: 192 / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6948, allocations: 9.062 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6948, allocations: 0 / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.695, allocations: 34.48 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.6953, allocations: 245.9 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.6954, allocations: 46.09 kB / 0.9521 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.6955, allocations: 23.11 kB / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.6955, allocations: 0 / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.6955, allocations: 35.78 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6955, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003605/0.6959, allocations: 81.67 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.6959, allocations: 51.41 kB / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.696, allocations: 99.14 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.696, allocations: 25.7 kB / 0.9524 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.696, allocations: 85.41 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.6961, allocations: 13.22 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.6961, allocations: 15 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.6962, allocations: 312.2 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.6962, allocations: 24.64 kB / 0.9528 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.6963, allocations: 17.97 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.6965, allocations: 35.7 kB / 0.9529 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6965, allocations: 0 / 0.9529 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.6967, allocations: 77.78 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6967, allocations: 3.75 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6967, allocations: 1.375 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6967, allocations: 0 / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.6968, allocations: 9.547 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6968, allocations: 5.938 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.6969, allocations: 2.594 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.6969, allocations: 0 / 0.953 GB, free: 6.199 MB / 0.7169 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 4.74e-05/0.6969, allocations: 115.6 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.697, allocations: 9.859 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.6972, allocations: 69.97 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-06/0.6972, allocations: 1.312 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6972, allocations: 0 / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6972, allocations: 0 / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.6973, allocations: 158.7 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6973, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.6974, allocations: 17.98 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6974, allocations: 1.562 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6974, allocations: 3.938 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.6974, allocations: 0 / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6974, allocations: 3.938 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.6976, allocations: 167.2 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.6977, allocations: 78.86 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.6977, allocations: 3.984 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.6978, allocations: 4.875 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.6978, allocations: 3.984 kB / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.6978, allocations: 6.109 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.6979, allocations: 81.28 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6979, allocations: 2 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002126/0.6981, allocations: 2.656 kB / 0.9537 GB, free: 5.457 MB / 0.7169 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.0001112/0.6982, allocations: 100.8 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.6984, allocations: 41.89 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6984, allocations: 0 / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.6985, allocations: 19.2 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.6988, allocations: 7.297 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.6991, allocations: 132.5 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.669e-05/0.6992, allocations: 0.6816 MB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.6992, allocations: 8.719 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.6992, allocations: 0 / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.001721/0.701, allocations: 0.5362 MB / 0.9551 GB, free: 4.211 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches