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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 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.00117/0.00117, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.2 MB / 0.6646 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 71.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9236/0.9249, allocations: 140.4 MB / 0.9496 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.002249/0.9272, allocations: 0.6715 MB / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.9281, allocations: 0.8075 MB / 0.951 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.9281, allocations: 1.25 kB / 0.951 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.9282, allocations: 0 / 0.951 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.9283, allocations: 3.938 kB / 0.951 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.9284, allocations: 10.27 kB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.692e-05/0.9285, allocations: 25.55 kB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.9286, allocations: 6.703 kB / 0.9511 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.016e-05/0.9287, allocations: 15.86 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.9288, allocations: 11.09 kB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.9288, allocations: 1.312 kB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.9288, allocations: 2.875 kB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.9288, allocations: 3.984 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.9289, allocations: 9.406 kB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.929, allocations: 21.12 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.929, allocations: 0 / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.929, allocations: 0 / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.929, allocations: 0 / 0.9512 GB, free: 8 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.0004503/0.9294, allocations: 342.5 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.9295, allocations: 13.19 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.9295, allocations: 3.406 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.9296, allocations: 165.6 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.9296, allocations: 384 / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.9297, allocations: 1.625 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.9298, allocations: 49.67 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.9299, allocations: 192 / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.9299, allocations: 5.188 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.9299, allocations: 4 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.9301, allocations: 39.14 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.9304, allocations: 248.5 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.9305, allocations: 43.66 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.9306, allocations: 26.22 kB / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.9306, allocations: 3.984 kB / 0.9521 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.9307, allocations: 32.06 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9307, allocations: 0 / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003439/0.931, allocations: 84.48 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.9311, allocations: 56.62 kB / 0.9522 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.9311, allocations: 102.1 kB / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.9311, allocations: 26.8 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.9312, allocations: 81.17 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.9312, allocations: 8.688 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.9312, allocations: 12.5 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.9313, allocations: 314.8 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.9314, allocations: 26.03 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.9315, allocations: 20.95 kB / 0.9528 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.9316, allocations: 35.64 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9316, allocations: 0 / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.9318, allocations: 76.19 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9318, allocations: 5.625 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9318, allocations: 0 / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.9318, allocations: 1.281 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.9319, allocations: 10.05 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.932, allocations: 0 / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.932, allocations: 7.516 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.932, allocations: 1.156 kB / 0.9529 GB, free: 6.172 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 6.001e-05/0.9321, allocations: 119.1 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.9321, allocations: 5.031 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.9323, allocations: 70.31 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9323, allocations: 1.344 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.9323, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9324, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.9325, allocations: 162.4 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9325, allocations: 0 / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.9325, allocations: 14.38 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.9326, allocations: 5 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.9326, allocations: 3.984 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.9326, allocations: 1.375 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.9326, allocations: 0 / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.9328, allocations: 158.9 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.9328, allocations: 82.39 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.9328, allocations: 3.938 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.9329, allocations: 3.812 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.9329, allocations: 13.17 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.9329, allocations: 1.125 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.933, allocations: 78.84 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.933, allocations: 0 / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002032/0.9332, allocations: 2.781 kB / 0.9536 GB, free: 5.434 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.0001227/0.9333, allocations: 101.9 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.9335, allocations: 41.52 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.9335, allocations: 3.938 kB / 0.9538 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.9336, allocations: 16.2 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.9339, allocations: 7.312 kB / 0.9538 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.9343, allocations: 121.5 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.9344, allocations: 0.6803 MB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.9344, allocations: 1.031 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.9345, allocations: 8.562 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9345, allocations: 0 / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.002678/0.9371, allocations: 438.3 kB / 0.955 GB, free: 4.254 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/jenkins/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