Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001365/0.001365, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001593/0.001593, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 61.98 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.331, allocations: 169.9 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002779/0.3338, allocations: 1.448 MB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.3345, allocations: 342.9 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.3346, allocations: 0 / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.3346, allocations: 3.938 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.3347, allocations: 0 / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.3352, allocations: 111.6 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.65e-05/0.3352, allocations: 15.94 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.3353, allocations: 11.98 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.3354, allocations: 4 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.3354, allocations: 15.92 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.3354, allocations: 0 / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3357, allocations: 131.8 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.3357, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.3357, allocations: 11.94 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.3359, allocations: 99.17 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3359, allocations: 0 / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3359, allocations: 0 / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3359, allocations: 0 / 1.286 GB, free: 8.445 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.000473/0.3364, allocations: 278.2 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3364, allocations: 12.03 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.177e-05/0.3364, allocations: 192 / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.3365, allocations: 30.75 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.3365, allocations: 0.9375 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3366, allocations: 114.5 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3366, allocations: 384 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3366, allocations: 4.375 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3368, allocations: 57.92 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3368, allocations: 4 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3368, allocations: 4 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3368, allocations: 0 / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.337, allocations: 31.95 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.3373, allocations: 227.9 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.3375, allocations: 34.56 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.3375, allocations: 24.84 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.3382, allocations: 87.91 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.3382, allocations: 34.56 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3382, allocations: 4 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003549/0.3386, allocations: 81.64 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3386, allocations: 51.41 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.3387, allocations: 101.8 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3387, allocations: 25.7 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.3388, allocations: 81.89 kB / 1.287 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3388, allocations: 7.953 kB / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.3388, allocations: 13.72 kB / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.339, allocations: 326.9 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.3391, allocations: 19.92 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.3391, allocations: 11.98 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3393, allocations: 44.75 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3393, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.3395, allocations: 65.73 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3395, allocations: 6.344 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3395, allocations: 0 / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3395, allocations: 0 / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.3396, allocations: 15.98 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3396, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.3397, allocations: 11.92 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3397, allocations: 0 / 1.288 GB, free: 6.473 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.202e-05/0.3397, allocations: 113.8 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3398, allocations: 8.172 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.34, allocations: 68.97 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.34, allocations: 7.984 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.34, allocations: 4 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.34, allocations: 3.984 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3402, allocations: 124.7 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3402, allocations: 0 / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.3402, allocations: 11.98 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3402, allocations: 4.031 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3402, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3402, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3402, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.3405, allocations: 163.4 kB / 1.288 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.3405, allocations: 8 kB / 1.288 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.3405, allocations: 0 / 1.288 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.3406, allocations: 11.92 kB / 1.288 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.3406, allocations: 4.031 kB / 1.288 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3406, allocations: 0 / 1.288 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.3406, allocations: 83.27 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3406, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002694/0.3409, allocations: 35.88 kB / 1.289 GB, free: 5.762 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.0006923/0.3416, allocations: 0.7357 MB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3418, allocations: 35.95 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3418, allocations: 0 / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.3419, allocations: 20.05 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3421, allocations: 8 kB / 1.289 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.3426, allocations: 153.5 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.696e-05/0.3427, allocations: 59.22 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.3427, allocations: 7.984 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.3427, allocations: 7.438 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3427, allocations: 0 / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3658, allocations: 1.964 MB / 1.291 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.74, allocations: 7.047 kB / 1.291 GB, free: 2.832 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.5824663649546]