Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.001472/0.001473, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 187 kB / 16.66 MB, free: 6.602 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.816/2.816, allocations: 469.4 MB / 0.7421 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.12 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.318, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002648/0.3207, allocations: 1.426 MB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.3215, allocations: 358.8 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.3215, allocations: 0 / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.3216, allocations: 3.984 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.3216, allocations: 3.938 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.3221, allocations: 113.5 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.541e-05/0.3222, allocations: 23.92 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.172e-05/0.3223, allocations: 7.984 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.3223, allocations: 7.938 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.509e-05/0.3224, allocations: 7.984 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.3224, allocations: 4 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.3226, allocations: 127.8 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.3227, allocations: 7.938 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.3227, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.3229, allocations: 99.67 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3229, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3229, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.3229, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 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.000482/0.3234, allocations: 355.3 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3235, allocations: 8.031 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.3235, allocations: 34.75 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.3235, allocations: 4.891 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3237, allocations: 172.3 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.3237, allocations: 4.375 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3237, allocations: 4.375 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3239, allocations: 54.17 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3239, allocations: 7.875 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.324, allocations: 0 / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.324, allocations: 3.938 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3241, allocations: 31.97 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.3245, allocations: 249 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3247, allocations: 38.5 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.3248, allocations: 20.91 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/0.3257, allocations: 485.4 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3257, allocations: 30.56 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.3257, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004165/0.3261, allocations: 81.64 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3262, allocations: 51.41 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.3263, allocations: 97.86 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3263, allocations: 25.7 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.3264, allocations: 92.08 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3264, allocations: 7.953 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.3264, allocations: 9.719 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3266, allocations: 319 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.3267, allocations: 19.92 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.3268, allocations: 15.97 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3269, allocations: 40.83 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3269, allocations: 3.938 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002166/0.3272, allocations: 69.72 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3272, allocations: 4 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3272, allocations: 0 / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3272, allocations: 0 / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.3273, allocations: 11.98 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3273, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.3274, allocations: 7.938 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.3274, allocations: 4.031 kB / 1.224 GB, free: 9.812 MB / 0.9825 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 8.216e-05/0.3275, allocations: 114.2 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3275, allocations: 7.984 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.3278, allocations: 68.78 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3278, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3278, allocations: 4 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3278, allocations: 0 / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.328, allocations: 161.6 kB / 1.224 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.328, allocations: 4 kB / 1.224 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.328, allocations: 11.92 kB / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.328, allocations: 0 / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.3281, allocations: 0 / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3281, allocations: 0 / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3281, allocations: 7.938 kB / 1.224 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.3283, allocations: 171.3 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.3284, allocations: 81.3 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3284, allocations: 0 / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3285, allocations: 7.984 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3285, allocations: 3.984 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3285, allocations: 0 / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.3286, allocations: 87.27 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3286, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004055/0.329, allocations: 31.97 kB / 1.225 GB, free: 8.969 MB / 0.9825 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.0006451/0.3296, allocations: 0.7318 MB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.3299, allocations: 39.95 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3299, allocations: 0 / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.33, allocations: 24.05 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.3302, allocations: 5.5 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.3307, allocations: 150.9 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.331, allocations: 0.6767 MB / 1.226 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.331, allocations: 3.984 kB / 1.226 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.331, allocations: 11.44 kB / 1.226 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3311, allocations: 0 / 1.226 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.3492, allocations: 1.775 MB / 1.228 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.966, allocations: 5.219 kB / 1.228 GB, free: 5.531 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_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_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches