Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.885/0.885, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.746/1.746, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.436e-05, allocations: 4.812 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001548/0.001563, allocations: 1.467 MB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004507/0.002013, allocations: 334.7 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.002035, allocations: 0 / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.002059, allocations: 0 / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/0.002095, allocations: 11.92 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.00245, allocations: 111.5 kB / 0.9828 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.214e-05/0.002502, allocations: 23.92 kB / 0.9828 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.002579, allocations: 4 kB / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.002622, allocations: 11.98 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.008e-05/0.002652, allocations: 11.98 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.002662, allocations: 0 / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.002817, allocations: 131.7 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.002828, allocations: 0 / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.002842, allocations: 4 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.00299, allocations: 111.7 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002992, allocations: 4 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002993, allocations: 0 / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.002997, allocations: 0 / 0.9831 GB, free: 352 kB / 0.9323 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.0003061/0.003303, allocations: 274.2 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.003334, allocations: 15.97 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.003371, allocations: 30.75 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.804e-05/0.003389, allocations: 4.891 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.353e-05/0.003452, allocations: 109.8 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.003461, allocations: 384 / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.003468, allocations: 4.375 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.003579, allocations: 46.23 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.003584, allocations: 4.188 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.00359, allocations: 384 / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003595, allocations: 4.125 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.841e-05/0.003684, allocations: 39.94 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.003913, allocations: 220 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.004e-05/0.003983, allocations: 34.56 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.004026, allocations: 20.84 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.004363, allocations: 91.91 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.004383, allocations: 42.48 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.004384, allocations: 0 / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002079/0.004592, allocations: 85.59 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.004614, allocations: 51.41 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.676e-05/0.004661, allocations: 101.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.004669, allocations: 25.7 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.004699, allocations: 88.09 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.004713, allocations: 7.891 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.004735, allocations: 13.72 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.004802, allocations: 318.8 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.004841, allocations: 19.92 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.004875, allocations: 16.11 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.004949, allocations: 40.81 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00495, allocations: 0 / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.262e-05/0.005043, allocations: 69.55 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.005053, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005057, allocations: 4.094 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.005066, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.005114, allocations: 11.98 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.005118, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.005141, allocations: 11.98 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-06/0.005144, allocations: 0 / 0.9848 GB, free: 14.37 MB / 0.948 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.472e-05/0.005189, allocations: 109.8 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.005201, allocations: 3.938 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.005316, allocations: 76.91 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.005318, allocations: 4 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.005321, allocations: 0 / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.005324, allocations: 3.984 kB / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.306e-05/0.005417, allocations: 120.8 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005418, allocations: 4 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.005442, allocations: 11.98 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.005444, allocations: 3.938 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.005449, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.00545, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005451, allocations: 4.031 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.005718, allocations: 159.5 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.005725, allocations: 7.938 kB / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.005733, allocations: 0 / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.005771, allocations: 7.984 kB / 0.9853 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.005798, allocations: 4 kB / 0.9853 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.0058, allocations: 3.938 kB / 0.9853 GB, free: 13.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.395e-05/0.005824, allocations: 87.2 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005824, allocations: 4.031 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001685/0.005992, allocations: 27.94 kB / 0.9855 GB, free: 13.67 MB / 0.948 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.0003729/0.006365, allocations: 0.7397 MB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.006479, allocations: 35.95 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00648, allocations: 0 / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.00652, allocations: 23.92 kB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.006683, allocations: 6.594 kB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.006976, allocations: 146.7 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.007011, allocations: 55.36 kB / 0.9864 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.007026, allocations: 3.984 kB / 0.9864 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.007052, allocations: 16.5 kB / 0.9865 GB, free: 12.56 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.007052, allocations: 0 / 0.9865 GB, free: 12.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.02123, allocations: 2.458 MB / 0.9889 GB, free: 10.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.908, allocations: 3.609 kB / 0.9889 GB, free: 10.23 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_12_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.991578351706266]