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.007921/0.007921, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001782/0.001782, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.674/1.674, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.915/2.915, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 0.9505 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9575/0.9595, allocations: 140.4 MB / 1.088 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001719/0.9612, allocations: 0.6543 MB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.962, allocations: 0.806 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.962, allocations: 1.062 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.962, allocations: 3.938 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.9621, allocations: 5.672 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.9622, allocations: 16.05 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.907e-05/0.9623, allocations: 24.69 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.9624, allocations: 4.188 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.9625, allocations: 9.391 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.9625, allocations: 13.28 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.9625, allocations: 1.844 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-06/0.9625, allocations: 2.156 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.9626, allocations: 1.984 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.9626, allocations: 10.78 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.739e-05/0.9627, allocations: 28.75 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9627, allocations: 5.031 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9627, allocations: 0 / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.9627, allocations: 0 / 1.089 GB, free: 4.148 MB / 0.8575 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.0003307/0.963, allocations: 337.2 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.9631, allocations: 10.33 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.099e-05/0.9631, allocations: 30.75 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.9631, allocations: 10.55 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.9632, allocations: 164.2 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.9632, allocations: 5.438 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.9632, allocations: 5.531 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.9634, allocations: 53.28 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.9634, allocations: 3.938 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.9634, allocations: 0 / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.9634, allocations: 0.6562 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.9636, allocations: 32.55 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.9638, allocations: 246.6 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.964, allocations: 48.56 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.964, allocations: 19.16 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.9641, allocations: 1.797 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.9641, allocations: 35.41 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9641, allocations: 4 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003335/0.9644, allocations: 76.48 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.9645, allocations: 56.66 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.945e-05/0.9645, allocations: 100.8 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.9645, allocations: 25.7 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.9646, allocations: 89.69 kB / 1.09 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.9646, allocations: 9.812 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.9646, allocations: 13.47 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.9647, allocations: 313 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.9648, allocations: 17.66 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.9648, allocations: 14.17 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.965, allocations: 49.7 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.965, allocations: 3.938 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.9652, allocations: 67.19 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.9652, allocations: 9.156 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.9652, allocations: 4.594 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.9652, allocations: 1.031 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.9653, allocations: 9.156 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.9654, allocations: 4.031 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.9654, allocations: 6.438 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.9654, allocations: 1.828 kB / 1.091 GB, free: 2.387 MB / 0.8575 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.563e-05/0.9655, allocations: 111.6 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.9655, allocations: 1.094 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.9657, allocations: 71.03 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.9657, allocations: 5.922 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.9657, allocations: 3.938 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.9657, allocations: 0 / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.9659, allocations: 160.1 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9659, allocations: 1.25 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.9659, allocations: 11.94 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.966, allocations: 1.281 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.966, allocations: 4 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.966, allocations: 1.859 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.966, allocations: 0 / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.9662, allocations: 166.4 kB / 1.091 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.9662, allocations: 83.27 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.9662, allocations: 0.6094 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.9663, allocations: 6.359 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.9664, allocations: 1.562 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.9664, allocations: 5.906 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.291e-05/0.9664, allocations: 84.5 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9664, allocations: 0 / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002244/0.9666, allocations: 3.438 kB / 1.092 GB, free: 1.691 MB / 0.8575 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.0004644/0.9671, allocations: 0.7004 MB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.9673, allocations: 35.05 kB / 1.092 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9673, allocations: 1.344 kB / 1.092 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.9674, allocations: 24.23 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.9677, allocations: 6.766 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.9681, allocations: 138.8 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.9683, allocations: 0.676 MB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.9683, allocations: 4.922 kB / 1.093 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.9684, allocations: 13.17 kB / 1.093 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.9684, allocations: 1.031 kB / 1.093 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.99/2.958, allocations: 1.264 MB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/18.61, allocations: 9.719 kB / 1.094 GB, free: 15.77 MB / 0.8731 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