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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.239/3.239, allocations: 497.2 MB / 0.7811 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 72.14 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3693, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002875/0.3722, allocations: 1.436 MB / 1.305 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008098/0.373, allocations: 359.2 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.373, allocations: 0 / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.3731, allocations: 0 / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.3731, allocations: 3.938 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.3736, allocations: 103.7 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.25e-05/0.3737, allocations: 27.86 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.3738, allocations: 0 / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.716e-05/0.3738, allocations: 8 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.367e-05/0.3738, allocations: 11.92 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.3739, allocations: 4 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.3741, allocations: 131.7 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.3741, allocations: 0 / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.3741, allocations: 11.94 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3743, allocations: 88.02 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3743, allocations: 0 / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3743, allocations: 0 / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3744, allocations: 0 / 1.306 GB, free: 15.35 MB / 1.014 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.000579/0.3749, allocations: 359.2 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.375, allocations: 12.92 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.375, allocations: 30.75 kB / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.3751, allocations: 4.938 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.3752, allocations: 164.3 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3752, allocations: 4.375 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3752, allocations: 8.312 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.3754, allocations: 46.23 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3755, allocations: 3.938 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.3755, allocations: 4 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3755, allocations: 4 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.3756, allocations: 35.89 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.376, allocations: 241 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3761, allocations: 46.42 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.3762, allocations: 24.91 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007707/0.377, allocations: 453.5 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.377, allocations: 34.55 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.377, allocations: 4 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003395/0.3774, allocations: 81.61 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3774, allocations: 59.33 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.3775, allocations: 101.8 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3775, allocations: 29.7 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3775, allocations: 80.14 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3776, allocations: 8.078 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.3776, allocations: 21.7 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3777, allocations: 310.8 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.3778, allocations: 11.98 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.3779, allocations: 23.92 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.378, allocations: 40.88 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.378, allocations: 3.938 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.3782, allocations: 61.67 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3782, allocations: 11.92 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3782, allocations: 0 / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3782, allocations: 4 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.3783, allocations: 4 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.3783, allocations: 32 / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.3784, allocations: 11.98 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.3784, allocations: 0 / 1.308 GB, free: 12.73 MB / 1.014 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.376e-05/0.3785, allocations: 121.8 kB / 1.308 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3785, allocations: 0 / 1.308 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.3787, allocations: 72.78 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3787, allocations: 7.984 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.3787, allocations: 4.031 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3787, allocations: 0 / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.3789, allocations: 161.6 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3789, allocations: 0 / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.3789, allocations: 11.92 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3789, allocations: 4 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.379, allocations: 0 / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.379, allocations: 0 / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.379, allocations: 0 / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3792, allocations: 163.5 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.3793, allocations: 77.11 kB / 1.309 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3793, allocations: 7.938 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3794, allocations: 7.984 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.3794, allocations: 4 kB / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3794, allocations: 0 / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.3794, allocations: 87.3 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3794, allocations: 0 / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002631/0.3797, allocations: 23.94 kB / 1.309 GB, free: 11.88 MB / 1.014 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.0007228/0.3804, allocations: 0.7435 MB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3806, allocations: 39.89 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3806, allocations: 8.062 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.3807, allocations: 19.92 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.381, allocations: 1.719 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.3814, allocations: 154.4 kB / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.3818, allocations: 0.6768 MB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.3819, allocations: 3.906 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.3819, allocations: 11.5 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.3819, allocations: 0 / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.407, allocations: 1.742 MB / 1.312 GB, free: 8.469 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.658, allocations: 6.188 kB / 1.312 GB, free: 8.465 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.422574480064213]