Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.009514/0.009514, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.002318/0.002318, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 461.9 MB / 0.7348 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 59.91 kB / 1.054 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.917, allocations: 157.4 MB / 1.207 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001989/0.919, allocations: 0.653 MB / 1.208 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.9201, allocations: 0.8079 MB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.9202, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.9202, allocations: 4 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.89e-05/0.9203, allocations: 3.938 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.9205, allocations: 15.97 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.304e-05/0.9206, allocations: 27.92 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.9207, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.9208, allocations: 15.92 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.9208, allocations: 4 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.9209, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-06/0.9209, allocations: 4 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.9209, allocations: 7.984 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.9209, allocations: 11.94 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.921, allocations: 27.89 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9211, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9211, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.9211, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 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.0004725/0.9215, allocations: 337.7 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.9216, allocations: 12.03 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.9216, allocations: 34.69 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.9217, allocations: 4.875 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.9218, allocations: 172.4 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.9218, allocations: 4.375 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.9219, allocations: 384 / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.9221, allocations: 50.23 kB / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.9221, allocations: 3.938 kB / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.9221, allocations: 0 / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9221, allocations: 0 / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.9223, allocations: 31.97 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.9226, allocations: 256.9 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.9228, allocations: 42.53 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.9228, allocations: 20.91 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.9229, allocations: 4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.9229, allocations: 38.5 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9229, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003478/0.9233, allocations: 89.48 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.9233, allocations: 51.41 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.9234, allocations: 101.8 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.9234, allocations: 25.7 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.9235, allocations: 88.2 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.9235, allocations: 7.906 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.9235, allocations: 13.72 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.9237, allocations: 318.8 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.9238, allocations: 11.98 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.9238, allocations: 15.98 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.924, allocations: 40.89 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.924, allocations: 3.938 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.9242, allocations: 69.59 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9242, allocations: 4 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9242, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.9242, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.9243, allocations: 11.98 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.9243, allocations: 4.031 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.9244, allocations: 7.984 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.9244, allocations: 0 / 1.211 GB, free: 9.789 MB / 0.9356 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 8.544e-05/0.9245, allocations: 113.8 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.9245, allocations: 4 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.9247, allocations: 72.72 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9247, allocations: 4.031 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9248, allocations: 0 / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9248, allocations: 0 / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.9249, allocations: 165.6 kB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9249, allocations: 3.938 kB / 1.211 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.925, allocations: 7.984 kB / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.925, allocations: 0 / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.925, allocations: 0 / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.925, allocations: 0 / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.925, allocations: 4 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.9253, allocations: 163.4 kB / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.9253, allocations: 85.05 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.9253, allocations: 4.188 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.9254, allocations: 7.984 kB / 1.211 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.9255, allocations: 7.922 kB / 1.211 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.9255, allocations: 4.031 kB / 1.211 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.9255, allocations: 83.28 kB / 1.211 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9255, allocations: 0 / 1.211 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002104/0.9257, allocations: 4 kB / 1.211 GB, free: 8.969 MB / 0.9356 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.0006016/0.9264, allocations: 0.7024 MB / 1.212 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.9266, allocations: 39.91 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9266, allocations: 0 / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.9267, allocations: 15.98 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.927, allocations: 7.984 kB / 1.212 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.9275, allocations: 147.8 kB / 1.212 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.9278, allocations: 0.6767 MB / 1.213 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.9278, allocations: 3.984 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.9279, allocations: 7.438 kB / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.9279, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.945, allocations: 1.267 MB / 1.214 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/8.449, allocations: 7.984 kB / 1.214 GB, free: 6.09 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches