Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1",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.006708/0.006713, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001624/0.001624, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.148/2.148, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.68/0.6812, allocations: 140.4 MB / 1.088 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001482/0.6827, allocations: 0.582 MB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.6833, allocations: 304.5 kB / 1.088 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.15e-05/0.6833, allocations: 0 / 1.088 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.6833, allocations: 0 / 1.088 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-06/0.6833, allocations: 1.219 kB / 1.088 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.6837, allocations: 102.4 kB / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.137e-05/0.6838, allocations: 1.188 kB / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.6838, allocations: 2.703 kB / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.19e-05/0.6838, allocations: 1.812 kB / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.605e-05/0.6838, allocations: 0 / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-06/0.6839, allocations: 0 / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.6841, allocations: 131.6 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.6841, allocations: 0.75 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.326e-05/0.6841, allocations: 9.172 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.6843, allocations: 68.75 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6843, allocations: 1.125 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6843, allocations: 4 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.6843, allocations: 0 / 1.089 GB, free: 4.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002157/0.6845, allocations: 331.1 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6846, allocations: 10.22 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.973e-05/0.6846, allocations: 35.97 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.883e-05/0.6846, allocations: 0.9375 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.974e-05/0.6847, allocations: 165.5 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.6847, allocations: 1.531 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.6847, allocations: 384 / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.861e-05/0.6848, allocations: 33.42 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.6848, allocations: 3.938 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.6848, allocations: 1.156 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.6848, allocations: 4.547 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.6848, allocations: 1.156 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.44e-05/0.6849, allocations: 148.1 kB / 1.089 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.508e-05/0.6849, allocations: 21.42 kB / 1.089 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.685, allocations: 10.84 kB / 1.089 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.6856, allocations: 468.2 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.6856, allocations: 36.14 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.6856, allocations: 1.094 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.6857, allocations: 35.77 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.628e-05/0.6858, allocations: 51.41 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.454e-05/0.6858, allocations: 93.8 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.6858, allocations: 35.91 kB / 1.09 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-06/0.6858, allocations: 80.14 kB / 1.09 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.6858, allocations: 0 / 1.09 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.6859, allocations: 12.56 kB / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.6859, allocations: 316.6 kB / 1.09 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.6859, allocations: 1 kB / 1.09 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-06/0.6859, allocations: 1.156 kB / 1.09 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.037e-05/0.686, allocations: 7.828 kB / 1.09 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.686, allocations: 0 / 1.09 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.011e-05/0.686, allocations: 36.55 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.686, allocations: 5.938 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.686, allocations: 8.031 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6861, allocations: 1.875 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.532e-05/0.6861, allocations: 5.125 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.6861, allocations: 0.5156 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.6861, allocations: 1.5 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.6861, allocations: 0 / 1.091 GB, free: 2.379 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 (1): * Single equations (assignments): 1 * 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.833e-05/0.6862, allocations: 108.4 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.6862, allocations: 0 / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.6862, allocations: 48.41 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.6863, allocations: 4.594 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6863, allocations: 0 / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.6863, allocations: 0 / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.396e-05/0.6863, allocations: 148.4 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.6863, allocations: 1.656 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/0.6863, allocations: 1.156 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6863, allocations: 1.75 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.6863, allocations: 7.938 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6864, allocations: 3.938 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6864, allocations: 1.656 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.881e-05/0.6865, allocations: 61.12 kB / 1.091 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.6865, allocations: 81.84 kB / 1.091 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.6865, allocations: 5.438 kB / 1.091 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-06/0.6865, allocations: 0.7031 kB / 1.091 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.6865, allocations: 1.062 kB / 1.091 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.6865, allocations: 0.7969 kB / 1.091 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.6866, allocations: 80.5 kB / 1.091 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.6866, allocations: 4.031 kB / 1.091 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002156/0.6868, allocations: 25.47 kB / 1.091 GB, free: 17.75 MB / 0.8731 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 (1): * Single equations (assignments): 1 * 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.0004455/0.6872, allocations: 0.6395 MB / 1.092 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.896e-05/0.6873, allocations: 3.875 kB / 1.092 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6873, allocations: 0 / 1.092 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.6873, allocations: 2.953 kB / 1.092 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.6875, allocations: 5.188 kB / 1.092 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.6877, allocations: 121.8 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.688, allocations: 0.6754 MB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.578e-06/0.688, allocations: 1.25 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/0.688, allocations: 7.438 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.688, allocations: 0 / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8423/1.53, allocations: 1.414 MB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.97, allocations: 10.31 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches