Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_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.004534/0.004534, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001079/0.001079, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.327/1.327, 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 11.1.0-master/package.mo): time 2.707/2.707, allocations: 469.4 MB / 0.7422 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8194, allocations: 159.1 MB / 1.22 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002668/0.8221, allocations: 1.426 MB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006756/0.8228, allocations: 346.9 kB / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.8228, allocations: 0 / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.8229, allocations: 7.938 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.8229, allocations: 0 / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.8234, allocations: 110.8 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.8234, allocations: 19.98 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.8235, allocations: 0 / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.8236, allocations: 11.98 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.591e-05/0.8236, allocations: 15.92 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.8236, allocations: 0 / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.8238, allocations: 119.8 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.8238, allocations: 15.97 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.8239, allocations: 11.94 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.8241, allocations: 82.48 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8241, allocations: 0 / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8241, allocations: 0 / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.8241, allocations: 0 / 1.222 GB, free: 124 kB / 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.0004513/0.8245, allocations: 356.2 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8246, allocations: 8.625 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.8246, allocations: 30.75 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.8247, allocations: 20.81 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.8248, allocations: 164.3 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.8248, allocations: 384 / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.8248, allocations: 384 / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.825, allocations: 50.23 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.825, allocations: 3.938 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.825, allocations: 0 / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.825, allocations: 4 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.8252, allocations: 31.97 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.8255, allocations: 253 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.8256, allocations: 42.44 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.8257, allocations: 28.89 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006943/0.8264, allocations: 457.5 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.8265, allocations: 34.5 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8265, allocations: 0 / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003492/0.8268, allocations: 81.64 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.8269, allocations: 59.34 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.8269, allocations: 101.8 kB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.827, allocations: 25.7 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.827, allocations: 88.09 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.827, allocations: 7.891 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.8271, allocations: 13.72 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.8272, allocations: 323 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.8273, allocations: 11.98 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.8273, allocations: 15.98 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.8275, allocations: 36.83 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8275, allocations: 3.938 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/0.8277, allocations: 73.66 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8277, allocations: 4 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8278, allocations: 4 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8278, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.8279, allocations: 7.984 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8279, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.8279, allocations: 7.984 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.8279, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 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 6.886e-05/0.828, allocations: 118.3 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.828, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.8283, allocations: 72.78 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8283, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8283, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8283, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.8285, allocations: 169.5 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8285, allocations: 7.969 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.8286, allocations: 11.98 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8286, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8286, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8286, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8286, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.8288, allocations: 171.4 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.8289, allocations: 81.05 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.8289, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.829, allocations: 11.98 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.829, allocations: 4 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.829, allocations: 0 / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.8291, allocations: 83.28 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8291, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000266/0.8294, allocations: 31.92 kB / 1.225 GB, free: 12.64 MB / 0.9512 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.0007/0.8301, allocations: 0.7319 MB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.8303, allocations: 31.97 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8303, allocations: 0 / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/0.8304, allocations: 27.91 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.8307, allocations: 10 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.8312, allocations: 142.9 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.8315, allocations: 0.6768 MB / 1.226 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.8315, allocations: 4 kB / 1.226 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.8316, allocations: 11.44 kB / 1.226 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.8316, allocations: 0 / 1.226 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.8488, allocations: 1.757 MB / 1.228 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.603, allocations: 10.06 kB / 1.228 GB, free: 9.223 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches