Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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 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.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.01017/0.01017, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00195/0.00195, allocations: 195.9 kB / 16.68 MB, free: 5.926 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.256/2.256, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.88 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8218, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002526/0.8244, allocations: 1.426 MB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000721/0.8251, allocations: 352.6 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.8252, allocations: 1.031 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.8252, allocations: 0 / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.8253, allocations: 9.797 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.8258, allocations: 94.08 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.8259, allocations: 31.81 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.826, allocations: 8.5 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.826, allocations: 8.422 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.826, allocations: 10.28 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.8261, allocations: 2.406 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.8263, allocations: 123.5 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.8263, allocations: 0.8906 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.8263, allocations: 11.02 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.8265, allocations: 84.59 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8265, allocations: 0 / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8265, allocations: 5.062 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5e-06/0.8266, allocations: 4 kB / 1.09 GB, free: 3.895 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.0003799/0.8269, allocations: 353.9 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.827, allocations: 9.297 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.576e-05/0.827, allocations: 32.09 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.827, allocations: 2.859 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.572e-05/0.8271, allocations: 166.9 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.8271, allocations: 1.156 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.8272, allocations: 1.344 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.8273, allocations: 53.03 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.8273, allocations: 5.766 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.8274, allocations: 0 / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.8274, allocations: 0 / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.8276, allocations: 36.81 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.8278, allocations: 251.1 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.828, allocations: 43.91 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.8281, allocations: 19.52 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.8286, allocations: 461.7 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.8287, allocations: 40.36 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8287, allocations: 0 / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003524/0.829, allocations: 83.58 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.8291, allocations: 52.28 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.8291, allocations: 105.8 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.8291, allocations: 25.7 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.8292, allocations: 81.83 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.8292, allocations: 5.531 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.8292, allocations: 16.78 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.8293, allocations: 312.9 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.8294, allocations: 22.83 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.8294, allocations: 18.48 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.8296, allocations: 40.86 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8296, allocations: 3.938 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001858/0.8298, allocations: 63.2 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8298, allocations: 4.812 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8298, allocations: 10.02 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.8298, allocations: 0 / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.8299, allocations: 8.062 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.8299, allocations: 1.094 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.83, allocations: 10.14 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.83, allocations: 1.344 kB / 1.092 GB, free: 1.656 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.567e-05/0.83, allocations: 111.5 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.8301, allocations: 2.859 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.8303, allocations: 82.31 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8303, allocations: 1.188 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8303, allocations: 0.7969 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.8303, allocations: 0 / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.8304, allocations: 160.3 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8304, allocations: 0 / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.8305, allocations: 9.484 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8305, allocations: 0 / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.8305, allocations: 4.969 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8305, allocations: 0.5625 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8305, allocations: 1.188 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.8307, allocations: 170.3 kB / 1.092 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.8308, allocations: 78.97 kB / 1.092 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.8308, allocations: 1.094 kB / 1.092 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.8309, allocations: 10.31 kB / 1.092 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.8309, allocations: 2.406 kB / 1.092 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.8309, allocations: 0.9375 kB / 1.092 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.8309, allocations: 79.61 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8309, allocations: 3.938 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002777/0.8312, allocations: 33.03 kB / 1.093 GB, free: 0.9531 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.0006368/0.8319, allocations: 0.7307 MB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.8321, allocations: 38.33 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8321, allocations: 0 / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.8322, allocations: 17.48 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.8324, allocations: 10.59 kB / 1.093 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.8328, allocations: 153.7 kB / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.833, allocations: 0.6758 MB / 1.094 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.277e-05/0.8331, allocations: 1.609 kB / 1.094 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.8331, allocations: 10.12 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8331, allocations: 0.6875 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.8513, allocations: 1.764 MB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/8.254, allocations: 9.094 kB / 1.096 GB, free: 14.97 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches