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.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001141/0.001141, allocations: 194.5 kB / 16.14 MB, free: 6.711 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.645 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.176/2.176, allocations: 390.2 MB / 0.6643 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5194, allocations: 140.4 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001805/0.5212, allocations: 0.7207 MB / 0.9498 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.5219, allocations: 0.8036 MB / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.5219, allocations: 1.375 kB / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.5219, allocations: 3.938 kB / 0.9506 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.522, allocations: 5.359 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.5221, allocations: 9.359 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.5222, allocations: 17.56 kB / 0.9506 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.83e-05/0.5223, allocations: 10.75 kB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.5223, allocations: 10.67 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.5224, allocations: 10.73 kB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.5224, allocations: 1.375 kB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.5224, allocations: 1.375 kB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.5224, allocations: 5.312 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.5224, allocations: 9.359 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.445e-05/0.5225, allocations: 20.03 kB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5225, allocations: 1.375 kB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5225, allocations: 0 / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.5225, allocations: 0 / 0.9507 GB, free: 7.922 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.0003148/0.5228, allocations: 343.4 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5229, allocations: 12.19 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.192e-05/0.5229, allocations: 36.11 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.5229, allocations: 6.312 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.453e-05/0.523, allocations: 169.6 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.523, allocations: 1.75 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.523, allocations: 384 / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.5232, allocations: 54.61 kB / 0.9513 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5232, allocations: 3.938 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.5232, allocations: 0 / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5232, allocations: 1.375 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.5234, allocations: 33.73 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.5236, allocations: 246 kB / 0.9515 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.5237, allocations: 41.91 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.5238, allocations: 26.48 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.5239, allocations: 1.094 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.5239, allocations: 35.41 kB / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5239, allocations: 0 / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003042/0.5242, allocations: 88.8 kB / 0.9517 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.5242, allocations: 51.41 kB / 0.9518 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.5243, allocations: 94.89 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.5243, allocations: 31.27 kB / 0.9519 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.5243, allocations: 80.14 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.5243, allocations: 13.23 kB / 0.952 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.5243, allocations: 13.19 kB / 0.952 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.5244, allocations: 318.8 kB / 0.9523 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.5245, allocations: 12.7 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.5245, allocations: 17.36 kB / 0.9523 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.5247, allocations: 39.91 kB / 0.9524 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5247, allocations: 8 kB / 0.9524 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001685/0.5249, allocations: 69 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.5249, allocations: 5.094 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5249, allocations: 0 / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5249, allocations: 1.312 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.525, allocations: 4.906 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.525, allocations: 1.156 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.525, allocations: 7.266 kB / 0.9525 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.5251, allocations: 5.125 kB / 0.9525 GB, free: 6.059 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 3.91e-05/0.5251, allocations: 115.1 kB / 0.9526 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.5251, allocations: 5.281 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.5253, allocations: 78.41 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5253, allocations: 1.312 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.5253, allocations: 0 / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.5253, allocations: 7.969 kB / 0.9527 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.738e-05/0.5254, allocations: 158.2 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5255, allocations: 1.375 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.5255, allocations: 9.578 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.5255, allocations: 0 / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.5255, allocations: 5.312 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5255, allocations: 0 / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5255, allocations: 4 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.5257, allocations: 163.8 kB / 0.953 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.5258, allocations: 81.05 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.5258, allocations: 1 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.5258, allocations: 8.734 kB / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.5259, allocations: 4 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.5259, allocations: 1.531 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.5259, allocations: 86.05 kB / 0.9532 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5259, allocations: 4.031 kB / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002066/0.5261, allocations: 3.688 kB / 0.9532 GB, free: 5.309 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.0003381/0.5265, allocations: 0.693 MB / 0.9538 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.5267, allocations: 37.62 kB / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5267, allocations: 0 / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.5267, allocations: 27.84 kB / 0.9539 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.527, allocations: 2.062 kB / 0.9539 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.5273, allocations: 133.5 kB / 0.954 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.152e-05/0.5274, allocations: 0.6774 MB / 0.9547 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.5274, allocations: 1.281 kB / 0.9547 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.5275, allocations: 11.44 kB / 0.9547 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5275, allocations: 1.312 kB / 0.9547 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1912/0.7187, allocations: 1.066 MB / 0.9557 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/0.7188, allocations: 208.1 kB / 0.9559 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.28, allocations: 0 / 0.9559 GB, free: 2.922 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