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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009184, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005481/0.005481, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.088/2.088, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 15.98 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.538/0.5382, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.0006595/0.5389, allocations: 389.6 kB / 0.9556 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.5396, allocations: 0.8071 MB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.5397, allocations: 1.188 kB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.5397, allocations: 0 / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.5397, allocations: 11.86 kB / 0.9564 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.5398, allocations: 6.188 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.5399, allocations: 17.33 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.54, allocations: 14.55 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.54, allocations: 4.219 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.5401, allocations: 18.67 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.5401, allocations: 0 / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-06/0.5401, allocations: 1.406 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.5401, allocations: 1.188 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.5402, allocations: 34.72 kB / 0.9565 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.141e-05/0.5402, allocations: 20.66 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5402, allocations: 0 / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5402, allocations: 0 / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.5402, allocations: 5.031 kB / 0.9565 GB, free: 6.633 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.0003021/0.5405, allocations: 341.7 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5406, allocations: 8.656 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.025e-05/0.5406, allocations: 31.97 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.689e-05/0.5406, allocations: 2.25 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.655e-05/0.5407, allocations: 169.7 kB / 0.957 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.5407, allocations: 1.781 kB / 0.957 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.5407, allocations: 5.344 kB / 0.957 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5409, allocations: 51.22 kB / 0.9571 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.5409, allocations: 3.938 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.5409, allocations: 3.984 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.5409, allocations: 3.938 kB / 0.9571 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.5411, allocations: 44.12 kB / 0.9571 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.5413, allocations: 245 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.5414, allocations: 52.56 kB / 0.9574 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.5415, allocations: 26.81 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.5415, allocations: 1.062 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.5415, allocations: 35.78 kB / 0.9575 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.5415, allocations: 0 / 0.9575 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003125/0.5419, allocations: 98.7 kB / 0.9576 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.5419, allocations: 52.84 kB / 0.9576 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.5419, allocations: 102.6 kB / 0.9577 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.5419, allocations: 29.7 kB / 0.9577 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.542, allocations: 81.08 kB / 0.9578 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.542, allocations: 9.062 kB / 0.9578 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.542, allocations: 11.31 kB / 0.9578 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.5421, allocations: 314.8 kB / 0.9581 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.5421, allocations: 26.53 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.5422, allocations: 26.52 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.5424, allocations: 53.14 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5424, allocations: 7.938 kB / 0.9583 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001794/0.5426, allocations: 74.16 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.5426, allocations: 4.625 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.5426, allocations: 1.5 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.5426, allocations: 0 / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.5427, allocations: 17.14 kB / 0.9583 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.5427, allocations: 0 / 0.9583 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.5427, allocations: 9.922 kB / 0.9584 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.5428, allocations: 1.469 kB / 0.9584 GB, free: 4.77 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.135e-05/0.5428, allocations: 115.1 kB / 0.9585 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.5428, allocations: 1.312 kB / 0.9585 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.543, allocations: 83.38 kB / 0.9585 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.543, allocations: 1.938 kB / 0.9586 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5431, allocations: 0 / 0.9586 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5431, allocations: 3.984 kB / 0.9586 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.5432, allocations: 165.5 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5432, allocations: 5.375 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.5432, allocations: 8.156 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5432, allocations: 4 kB / 0.9587 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.5433, allocations: 5.422 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5433, allocations: 0 / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5433, allocations: 0 / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.5435, allocations: 180.6 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.5435, allocations: 78.61 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.5435, allocations: 0 / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.5436, allocations: 6.656 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.5436, allocations: 9.828 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.5436, allocations: 0 / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.857e-05/0.5436, allocations: 83.03 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5436, allocations: 0 / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000199/0.5438, allocations: 3.594 kB / 0.9591 GB, free: 4.027 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.000323/0.5442, allocations: 0.7093 MB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.5444, allocations: 50.64 kB / 0.9598 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5444, allocations: 3.938 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.5445, allocations: 24.48 kB / 0.9598 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.5447, allocations: 4.125 kB / 0.9599 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.545, allocations: 137.8 kB / 0.96 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.316e-05/0.5451, allocations: 0.681 MB / 0.9606 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.5451, allocations: 1.375 kB / 0.9606 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.5451, allocations: 12.81 kB / 0.9607 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.5451, allocations: 0 / 0.9607 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2363/0.7815, allocations: 1.009 MB / 0.9616 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.7817, allocations: 200.4 kB / 0.9618 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.718, allocations: 5.312 kB / 0.9618 GB, free: 1.707 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > 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