Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001687/0.001687, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002011/0.002011, allocations: 219.7 kB / 22.25 MB, free: 5.105 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.236/3.236, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",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.002056/0.002056, allocations: 62.44 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4268, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002094/0.4289, allocations: 0.6008 MB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.4298, allocations: 259.6 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.4298, allocations: 0 / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.4298, allocations: 7.938 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-06/0.4298, allocations: 0 / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.4303, allocations: 91.73 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.887e-05/0.4304, allocations: 3.984 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.4304, allocations: 0 / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.4304, allocations: 4 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.24e-05/0.4305, allocations: 0 / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.4305, allocations: 3.938 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.4307, allocations: 119.8 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.4308, allocations: 3.984 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.4308, allocations: 4 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.4309, allocations: 68.06 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.431, allocations: 0 / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.274e-06/0.431, allocations: 4 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.431, allocations: 0 / 1.327 GB, free: 332 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003773/0.4313, allocations: 254.3 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4314, allocations: 8.031 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.4314, allocations: 30.75 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.4315, allocations: 4.938 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.534e-05/0.4316, allocations: 106.5 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.4316, allocations: 384 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.4316, allocations: 4.375 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.4317, allocations: 34.25 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4317, allocations: 7.875 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.4317, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4317, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.4317, allocations: 3.938 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.4319, allocations: 116.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.88e-05/0.4319, allocations: 18.58 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.432, allocations: 8.953 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.4326, allocations: 79.91 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4326, allocations: 30.56 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4326, allocations: 7.875 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002368/0.4329, allocations: 37.62 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.4329, allocations: 55.41 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.001e-05/0.433, allocations: 89.86 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.433, allocations: 29.83 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.4331, allocations: 80.14 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.4331, allocations: 7.938 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.4331, allocations: 17.72 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4333, allocations: 310.8 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.4333, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.4333, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.4333, allocations: 12.8 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4333, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.615e-05/0.4334, allocations: 37.77 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4334, allocations: 11.98 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4334, allocations: 3.938 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4334, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.4335, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4335, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.4335, allocations: 4 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.4335, allocations: 0 / 1.328 GB, free: 14.74 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.168e-05/0.4336, allocations: 106.4 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.4336, allocations: 0 / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-05/0.4337, allocations: 52.59 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4337, allocations: 4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4337, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4337, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.4338, allocations: 116.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4338, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.4338, allocations: 4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.4338, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.4338, allocations: 3.938 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4338, allocations: 3.984 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4338, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.955e-05/0.4339, allocations: 65.11 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-06/0.4339, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.4339, allocations: 11.81 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.434, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.434, allocations: 7.984 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.434, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.434, allocations: 75.28 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.434, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002398/0.4343, allocations: 23.94 kB / 1.329 GB, free: 14.2 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0005664/0.4348, allocations: 0.6358 MB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.4349, allocations: 7.938 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4349, allocations: 0 / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.4349, allocations: 4.094 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.435, allocations: 4 kB / 1.329 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.4354, allocations: 118.5 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.036e-05/0.4354, allocations: 55.36 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.919e-06/0.4354, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.4355, allocations: 7.438 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4355, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.4657, allocations: 1.916 MB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.45, allocations: 7.734 kB / 1.332 GB, free: 11.48 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.436778566014254]