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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007111/0.007111, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001643/0.001643, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.367/1.367, 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 12.0.0-master/package.mo): time 2.696/2.696, allocations: 472.7 MB / 0.7453 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 68.14 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7351, allocations: 159.9 MB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002431/0.7376, allocations: 1.432 MB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0006366/0.7383, allocations: 346.8 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.7383, allocations: 4 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.7384, allocations: 0 / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.7384, allocations: 11.92 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.7388, allocations: 91.73 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.7389, allocations: 27.91 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.354e-05/0.739, allocations: 7.984 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.739, allocations: 11.94 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.7391, allocations: 11.98 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.7391, allocations: 3.938 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.7393, allocations: 119.8 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.7393, allocations: 7.938 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.7393, allocations: 4 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.7395, allocations: 87.41 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7395, allocations: 7.984 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7395, allocations: 0 / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.7395, allocations: 0 / 1.227 GB, free: 11.39 MB / 0.9512 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.0004302/0.74, allocations: 351.3 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.74, allocations: 12.03 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.7401, allocations: 34.75 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.7401, allocations: 4.891 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.7402, allocations: 168.4 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.7402, allocations: 384 / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.7402, allocations: 384 / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.7404, allocations: 50.23 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7404, allocations: 7.938 kB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.7405, allocations: 3.938 kB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7405, allocations: 0 / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.7406, allocations: 39.89 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.7409, allocations: 248.9 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.7411, allocations: 42.53 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.7412, allocations: 20.91 kB / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006443/0.7418, allocations: 461.5 kB / 1.229 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7418, allocations: 34.56 kB / 1.229 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 3.036e-06/0.7419, allocations: 0 / 1.229 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003415/0.7422, allocations: 85.67 kB / 1.229 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.7422, allocations: 51.41 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.7423, allocations: 97.86 kB / 1.229 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.7423, allocations: 25.7 kB / 1.229 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.7424, allocations: 92.08 kB / 1.229 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.7424, allocations: 11.89 kB / 1.229 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.7424, allocations: 9.719 kB / 1.229 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.7425, allocations: 314.8 kB / 1.229 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.7426, allocations: 20.02 kB / 1.229 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.7427, allocations: 15.97 kB / 1.229 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.7428, allocations: 40.77 kB / 1.229 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7429, allocations: 3.938 kB / 1.229 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.743, allocations: 73.72 kB / 1.23 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7431, allocations: 5.094 kB / 1.23 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7431, allocations: 0 / 1.23 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7431, allocations: 0 / 1.23 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.7432, allocations: 15.92 kB / 1.23 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7432, allocations: 0 / 1.23 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.7433, allocations: 4 kB / 1.23 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.7433, allocations: 0 / 1.23 GB, free: 8.766 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.653e-05/0.7433, allocations: 114.3 kB / 1.23 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.7434, allocations: 7.984 kB / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.7436, allocations: 72.72 kB / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7436, allocations: 0 / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7436, allocations: 0 / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.7436, allocations: 4 kB / 1.23 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.7438, allocations: 157.6 kB / 1.23 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7438, allocations: 4.125 kB / 1.23 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.7438, allocations: 12.02 kB / 1.23 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7438, allocations: 0 / 1.23 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.7439, allocations: 7.984 kB / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7439, allocations: 0 / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7439, allocations: 0 / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.7441, allocations: 175.3 kB / 1.23 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.7442, allocations: 81.11 kB / 1.23 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.7442, allocations: 0 / 1.23 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.7443, allocations: 7.984 kB / 1.23 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.7443, allocations: 0 / 1.23 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.7443, allocations: 0 / 1.23 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.561e-05/0.7444, allocations: 87.27 kB / 1.23 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7444, allocations: 0 / 1.23 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002607/0.7446, allocations: 27.94 kB / 1.23 GB, free: 7.922 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.0005954/0.7452, allocations: 0.7319 MB / 1.231 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.7454, allocations: 39.89 kB / 1.231 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7454, allocations: 0 / 1.231 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.7455, allocations: 19.98 kB / 1.231 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.7458, allocations: 4.125 kB / 1.231 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.7462, allocations: 150.9 kB / 1.231 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.7464, allocations: 0.6729 MB / 1.232 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.7464, allocations: 0 / 1.232 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.7465, allocations: 19.42 kB / 1.232 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7465, allocations: 0 / 1.232 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.7627, allocations: 1.747 MB / 1.234 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.545, allocations: 20.88 kB / 1.234 GB, free: 4.504 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