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: "" <> 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.001046/0.001046, allocations: 108 kB / 15.6 MB, free: 132 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.001163/0.001163, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.16/2.16, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5152, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001689/0.517, allocations: 0.6589 MB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006095/0.5176, allocations: 0.8083 MB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.5176, allocations: 0 / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.5176, allocations: 1.375 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.5177, allocations: 3.938 kB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.5178, allocations: 10.8 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.5179, allocations: 28.66 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.518, allocations: 7.906 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.518, allocations: 6.562 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.5181, allocations: 14.3 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.5181, allocations: 2.312 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.5181, allocations: 2.719 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.5181, allocations: 0 / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.5182, allocations: 14.39 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.493e-05/0.5182, allocations: 23.67 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5182, allocations: 0 / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5182, allocations: 1.688 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.5182, allocations: 4 kB / 0.9513 GB, free: 7.859 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.0003298/0.5186, allocations: 338.8 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5186, allocations: 10.25 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.5187, allocations: 34.69 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.5187, allocations: 2.375 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.686e-05/0.5187, allocations: 170.3 kB / 0.9518 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.5188, allocations: 4.375 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.5188, allocations: 1.906 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.5189, allocations: 49.5 kB / 0.9519 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.519, allocations: 3.938 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.519, allocations: 3.984 kB / 0.9519 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.519, allocations: 1.281 kB / 0.9519 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.5191, allocations: 30.31 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.5194, allocations: 244.7 kB / 0.9521 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5195, allocations: 46.22 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.5196, allocations: 18.69 kB / 0.9522 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5196, allocations: 1.406 kB / 0.9522 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.5196, allocations: 35.84 kB / 0.9522 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5196, allocations: 0 / 0.9522 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002998/0.5199, allocations: 83.98 kB / 0.9523 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.5199, allocations: 52.66 kB / 0.9524 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.378e-05/0.52, allocations: 106.6 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.52, allocations: 25.7 kB / 0.9525 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.745e-05/0.52, allocations: 81.23 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.52, allocations: 12.94 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.5201, allocations: 16 kB / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.318e-05/0.5201, allocations: 316 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.5202, allocations: 20.61 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.5203, allocations: 18.14 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.5204, allocations: 38.98 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5204, allocations: 9 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.5206, allocations: 72.38 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5206, allocations: 4.938 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.5206, allocations: 0 / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.5206, allocations: 5.203 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.5207, allocations: 10.3 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5207, allocations: 3.984 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.5208, allocations: 12.05 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5208, allocations: 0 / 0.9531 GB, free: 5.984 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.108e-05/0.5208, allocations: 112.1 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.5209, allocations: 5.062 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.5211, allocations: 74.03 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5211, allocations: 1.438 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.5211, allocations: 0 / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5211, allocations: 4.031 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.94e-05/0.5212, allocations: 162.1 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5212, allocations: 0 / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.5212, allocations: 6.5 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5213, allocations: 3.984 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5213, allocations: 1.125 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5213, allocations: 0 / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5213, allocations: 1.312 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.5215, allocations: 167 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.5215, allocations: 77.11 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.5215, allocations: 1.719 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.5216, allocations: 7.031 kB / 0.9537 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.5216, allocations: 4.828 kB / 0.9537 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.5216, allocations: 1.062 kB / 0.9537 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.5216, allocations: 82.62 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5216, allocations: 4.031 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002069/0.5219, allocations: 4 kB / 0.9538 GB, free: 5.254 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.0003256/0.5222, allocations: 0.6962 MB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.5224, allocations: 45.45 kB / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5224, allocations: 3.938 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.5225, allocations: 14.45 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.5227, allocations: 14.3 kB / 0.9545 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.523, allocations: 141.2 kB / 0.9547 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.403e-05/0.5231, allocations: 0.6767 MB / 0.9553 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.5231, allocations: 1 kB / 0.9553 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.5232, allocations: 12.58 kB / 0.9553 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5232, allocations: 0 / 0.9553 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2065/0.7297, allocations: 1.239 MB / 0.9566 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.858, allocations: 11.03 kB / 0.9566 GB, free: 2.945 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