Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001281/0.001281, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001358/0.001358, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.032/3.032, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_12_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.00206/0.00206, allocations: 63.91 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002151/1.127, allocations: 1.451 MB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005763/1.128, allocations: 344.3 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/1.128, allocations: 2.875 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/1.128, allocations: 3.938 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/1.128, allocations: 3.938 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/1.128, allocations: 99.08 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.326e-05/1.128, allocations: 20.48 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/1.128, allocations: 2.969 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/1.128, allocations: 14.08 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/1.128, allocations: 14.19 kB / 1.323 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/1.128, allocations: 11.92 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/1.129, allocations: 118.2 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/1.129, allocations: 7.938 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/1.129, allocations: 10.38 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/1.129, allocations: 92.44 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.129, allocations: 0 / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/1.129, allocations: 0 / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.129, allocations: 0 / 1.324 GB, free: 23.33 MB / 1.061 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.0003928/1.129, allocations: 357 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.129, allocations: 16.17 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.283e-05/1.129, allocations: 2.938 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.811e-05/1.129, allocations: 34.69 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/1.129, allocations: 0.9375 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.447e-05/1.129, allocations: 167.2 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/1.129, allocations: 384 / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/1.129, allocations: 2.969 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/1.13, allocations: 58.61 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.13, allocations: 0 / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/1.13, allocations: 4 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.13, allocations: 3.938 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/1.13, allocations: 34.05 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/1.13, allocations: 243.8 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/1.13, allocations: 36.62 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/1.13, allocations: 28.7 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/1.131, allocations: 456 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/1.131, allocations: 41.38 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.131, allocations: 0 / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003488/1.131, allocations: 75.28 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/1.131, allocations: 54.25 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.007e-05/1.131, allocations: 100.1 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/1.131, allocations: 25.7 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/1.131, allocations: 91.17 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/1.131, allocations: 3.953 kB / 1.325 GB, free: 21.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/1.131, allocations: 12.59 kB / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/1.131, allocations: 314.2 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/1.131, allocations: 15.92 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/1.131, allocations: 19.94 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/1.132, allocations: 50.27 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.132, allocations: 0 / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001781/1.132, allocations: 63.19 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.132, allocations: 5.75 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.132, allocations: 0 / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.132, allocations: 3.938 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/1.132, allocations: 8.734 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.132, allocations: 6.75 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/1.132, allocations: 9.969 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/1.132, allocations: 0 / 1.326 GB, free: 21.09 MB / 1.061 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.207e-05/1.132, allocations: 118.4 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/1.132, allocations: 7.891 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/1.132, allocations: 76.22 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.132, allocations: 4.031 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.132, allocations: 2.719 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/1.132, allocations: 0 / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/1.132, allocations: 156 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.132, allocations: 2.531 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/1.132, allocations: 8.906 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.132, allocations: 0 / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/1.132, allocations: 0 / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.132, allocations: 3.328 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.132, allocations: 2.875 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/1.133, allocations: 168.1 kB / 1.326 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/1.133, allocations: 77.11 kB / 1.326 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/1.133, allocations: 0 / 1.326 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/1.133, allocations: 8.641 kB / 1.326 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/1.133, allocations: 3.141 kB / 1.326 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/1.133, allocations: 6.906 kB / 1.326 GB, free: 20.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.029e-05/1.133, allocations: 86.42 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.133, allocations: 0 / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002591/1.133, allocations: 27.53 kB / 1.327 GB, free: 20.38 MB / 1.061 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.0004813/1.133, allocations: 0.7379 MB / 1.327 GB, free: 19.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002127/1.134, allocations: 39.33 kB / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.134, allocations: 0 / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/1.134, allocations: 18.19 kB / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/1.134, allocations: 6.219 kB / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/1.134, allocations: 156 kB / 1.328 GB, free: 19.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/1.135, allocations: 0.6749 MB / 1.328 GB, free: 18.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.216e-05/1.135, allocations: 4.125 kB / 1.328 GB, free: 18.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/1.135, allocations: 21.69 kB / 1.328 GB, free: 18.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.135, allocations: 0 / 1.328 GB, free: 18.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/1.154, allocations: 1.786 MB / 1.33 GB, free: 18.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/9.732, allocations: 8.547 kB / 1.33 GB, free: 18.38 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.35710616601864]