Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.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.001443/0.001443, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001512/0.001512, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.854/2.854, allocations: 476.8 MB / 0.7715 GB, free: 3.914 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.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",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.001961/0.001961, allocations: 63.02 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3466, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002917/0.3496, allocations: 1.461 MB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000711/0.3503, allocations: 315 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.3503, allocations: 0 / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.3503, allocations: 7.922 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.3504, allocations: 0 / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.3508, allocations: 99.72 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.3509, allocations: 27.86 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.351, allocations: 4 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.351, allocations: 11.98 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.834e-05/0.3511, allocations: 7.938 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.3511, allocations: 4 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.3513, allocations: 131.7 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.3513, allocations: 0 / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.3514, allocations: 11.94 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3516, allocations: 81.22 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3516, allocations: 3.938 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3516, allocations: 0 / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3516, allocations: 0 / 1.286 GB, free: 8.484 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.0004831/0.3521, allocations: 278.2 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3521, allocations: 8.031 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.008e-05/0.3521, allocations: 8.188 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.3522, allocations: 34.69 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.3522, allocations: 4.922 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3523, allocations: 114.5 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3523, allocations: 4.375 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.3523, allocations: 384 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3525, allocations: 53.98 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3525, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.3525, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3525, allocations: 4 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3527, allocations: 31.97 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.353, allocations: 223.9 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3532, allocations: 38.56 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.3533, allocations: 24.89 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.3538, allocations: 75.92 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3538, allocations: 30.56 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3538, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003674/0.3542, allocations: 85.58 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3543, allocations: 51.41 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.3543, allocations: 110 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.3544, allocations: 25.7 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.3544, allocations: 80.14 kB / 1.287 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3544, allocations: 3.953 kB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.3545, allocations: 17.72 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3546, allocations: 310.8 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.3547, allocations: 23.97 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.3548, allocations: 11.98 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3549, allocations: 44.83 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3549, allocations: 4 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.3551, allocations: 65.59 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3551, allocations: 8 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3551, allocations: 0 / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3551, allocations: 0 / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.3552, allocations: 12.02 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3552, allocations: 7.938 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.3553, allocations: 11.98 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.3553, allocations: 0 / 1.288 GB, free: 6.516 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 7.96e-05/0.3554, allocations: 113.7 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3554, allocations: 7.953 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.3556, allocations: 72.91 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3556, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3556, allocations: 4.031 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3556, allocations: 192 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.3558, allocations: 132.7 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3558, allocations: 3.984 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.3559, allocations: 7.984 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3559, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3559, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3559, allocations: 4 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3559, allocations: 0 / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.3561, allocations: 165.2 kB / 1.288 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.3561, allocations: 0 / 1.288 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3561, allocations: 4 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.3562, allocations: 11.92 kB / 1.288 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.3562, allocations: 4 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3562, allocations: 0 / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.3563, allocations: 83.27 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3563, allocations: 0 / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002679/0.3565, allocations: 27.94 kB / 1.289 GB, free: 5.816 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.0006635/0.3572, allocations: 0.728 MB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.3574, allocations: 47.92 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3574, allocations: 0 / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.3575, allocations: 15.98 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.3577, allocations: 2.188 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.3582, allocations: 163 kB / 1.289 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.109e-05/0.3583, allocations: 63.28 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.3583, allocations: 8.125 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.3583, allocations: 7.438 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3583, allocations: 4 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.3803, allocations: 1.933 MB / 1.291 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 10.27 kB / 1.291 GB, free: 2.906 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.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.588937303982675]