Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",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.005242/0.005242, allocations: 99.94 kB / 15.73 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.001168/0.001168, allocations: 198.9 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.284/1.284, 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 10.1.1-maint.10.0.x/package.mo): time 2.317/2.317, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.12 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7433, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00159/0.745, allocations: 0.5886 MB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005446/0.7455, allocations: 281 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.141e-05/0.7456, allocations: 0 / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.7456, allocations: 3.938 kB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.7456, allocations: 0 / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.746, allocations: 95.72 kB / 1.167 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.569e-05/0.7461, allocations: 4 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.7461, allocations: 4 kB / 1.167 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.7461, allocations: 3.938 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.192e-05/0.7462, allocations: 3.984 kB / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.7462, allocations: 0 / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.7464, allocations: 123.8 kB / 1.167 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.225e-06/0.7464, allocations: 3.938 kB / 1.167 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.7465, allocations: 7.984 kB / 1.167 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.7466, allocations: 59.91 kB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7466, allocations: 3.938 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7467, allocations: 4 kB / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7467, allocations: 0 / 1.167 GB, free: 2.562 MB / 0.8887 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.0003056/0.747, allocations: 327.6 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.747, allocations: 8.922 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.7471, allocations: 30.75 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.7471, allocations: 8.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/0.7472, allocations: 164.4 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.7472, allocations: 384 / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.7472, allocations: 384 / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.7473, allocations: 30.27 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.7473, allocations: 3.938 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.7473, allocations: 4 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7473, allocations: 3.938 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.79e-05/0.7473, allocations: 3.938 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.7475, allocations: 141.7 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.164e-05/0.7475, allocations: 29.06 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.7476, allocations: 4.859 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007026/0.7483, allocations: 453.5 kB / 1.168 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.7483, allocations: 38.56 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.7483, allocations: 0 / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001276/0.7484, allocations: 45.56 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.7485, allocations: 51.41 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.214e-05/0.7485, allocations: 89.86 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.7485, allocations: 25.7 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.7486, allocations: 80.14 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.7486, allocations: 3.906 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.7486, allocations: 17.72 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7487, allocations: 310.8 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.7488, allocations: 4.125 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/0.7488, allocations: 4 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.392e-05/0.7488, allocations: 8.844 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7488, allocations: 0 / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.986e-05/0.7489, allocations: 37.64 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7489, allocations: 4 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7489, allocations: 3.938 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7489, allocations: 0 / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.7489, allocations: 0 / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.749, allocations: 8.094 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-06/0.749, allocations: 3.938 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.749, allocations: 0 / 1.169 GB, free: 336 kB / 0.8887 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 8.362e-05/0.7491, allocations: 113.8 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.7491, allocations: 3.984 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.576e-05/0.7492, allocations: 40.7 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7492, allocations: 8 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.7492, allocations: 0 / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7492, allocations: 4.031 kB / 1.169 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.7493, allocations: 145.7 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7493, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.7493, allocations: 7.938 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7493, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.7493, allocations: 7.938 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7494, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.7494, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.164e-05/0.7494, allocations: 57.12 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.7495, allocations: 81.11 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.7495, allocations: 3.938 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-06/0.7495, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-06/0.7495, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.7495, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.727e-05/0.7495, allocations: 79.28 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7495, allocations: 3.938 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002277/0.7498, allocations: 31.98 kB / 1.17 GB, free: 15.64 MB / 0.9044 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.0004316/0.7502, allocations: 0.6342 MB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.7503, allocations: 4 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7503, allocations: 0 / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-06/0.7503, allocations: 7.922 kB / 1.17 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.7504, allocations: 4 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.7507, allocations: 118.6 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.7509, allocations: 0.6729 MB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.147e-06/0.751, allocations: 4.125 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.751, allocations: 7.438 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.751, allocations: 0 / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.7668, allocations: 1.39 MB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/9.268, allocations: 4.578 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches