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.0007924/0.0007924, 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.001246/0.001246, 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.9167/0.9167, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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.793e-06/1.793e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.936e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002669/0.002688, allocations: 1.456 MB / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.003448, allocations: 330.8 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.00348, allocations: 0 / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.003513, allocations: 3.938 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.003559, allocations: 7.922 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.004066, allocations: 103.7 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.004137, allocations: 19.92 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.004231, allocations: 7.984 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.004282, allocations: 11.98 kB / 0.9828 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.004323, allocations: 15.92 kB / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.004334, allocations: 0 / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.004569, allocations: 135.7 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.004585, allocations: 4 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.004604, allocations: 3.938 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.004815, allocations: 111.8 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004817, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004819, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.004822, allocations: 4 kB / 0.9831 GB, free: 364 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.0004114/0.005234, allocations: 274.2 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.005279, allocations: 12.03 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.005313, allocations: 34.75 kB / 0.9834 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.005339, allocations: 8.938 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.23e-05/0.005432, allocations: 109.8 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.005444, allocations: 384 / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.005453, allocations: 384 / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.00561, allocations: 50.19 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.005619, allocations: 8.109 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.005629, allocations: 384 / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.005635, allocations: 12.06 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.005764, allocations: 31.97 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.006086, allocations: 212.1 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.006195, allocations: 38.5 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.006259, allocations: 28.84 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/0.006749, allocations: 95.89 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.006777, allocations: 38.5 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.006778, allocations: 0 / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0003179/0.007096, allocations: 73.66 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.007132, allocations: 59.52 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.007199, allocations: 97.86 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.007211, allocations: 25.7 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.007253, allocations: 88.09 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.007272, allocations: 7.953 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.007306, allocations: 13.7 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.007404, allocations: 322.8 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.007462, allocations: 11.98 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.362e-05/0.007516, allocations: 15.98 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.469e-05/0.007611, allocations: 44.88 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007613, allocations: 0 / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001098/0.007723, allocations: 65.61 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.007736, allocations: 7.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.00774, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.007752, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.007807, allocations: 12.03 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.007812, allocations: 3.938 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.007835, allocations: 7.984 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.007842, allocations: 0 / 0.9848 GB, free: 14.38 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.94e-05/0.007892, allocations: 113.8 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.007905, allocations: 3.938 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.008032, allocations: 72.89 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008034, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.008038, allocations: 8.031 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.00804, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.995e-05/0.00814, allocations: 124.7 kB / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.008141, allocations: 0 / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.008164, allocations: 7.984 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.008168, allocations: 11.94 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.008173, allocations: 0 / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.008174, allocations: 0 / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008175, allocations: 0 / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.008299, allocations: 171.4 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-06/0.008304, allocations: 3.938 kB / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.008315, allocations: 7.984 kB / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.008352, allocations: 4 kB / 0.9853 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.008382, allocations: 7.922 kB / 0.9854 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.008384, allocations: 0 / 0.9854 GB, free: 13.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.432e-05/0.008408, allocations: 83.28 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008408, allocations: 0 / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001787/0.008587, allocations: 27.94 kB / 0.9855 GB, free: 13.68 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.0004045/0.008992, allocations: 0.7396 MB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.00911, allocations: 40 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009112, allocations: 0 / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.00915, allocations: 15.98 kB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.009323, allocations: 7.125 kB / 0.9862 GB, free: 12.85 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.009639, allocations: 138.5 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.009678, allocations: 67.28 kB / 0.9864 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.704e-05/0.009695, allocations: 4.125 kB / 0.9864 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.009721, allocations: 8.828 kB / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.009721, allocations: 4 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.02637, allocations: 2.456 MB / 0.9889 GB, free: 10.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/6.884, allocations: 5.156 kB / 0.9889 GB, free: 10.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 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.mat","/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.875729911029339]