Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.001808/0.001808, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.002086/0.002086, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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 2.977/2.977, allocations: 497.2 MB / 0.7812 GB, free: 11.95 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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.89 kB / 1.134 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 173.9 MB / 1.304 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002615/1.083, allocations: 1.432 MB / 1.305 GB, free: 31.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007135/1.084, allocations: 363.5 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/1.084, allocations: 0 / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/1.084, allocations: 0 / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/1.084, allocations: 3.938 kB / 1.306 GB, free: 30.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/1.084, allocations: 108.1 kB / 1.306 GB, free: 30.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.833e-05/1.084, allocations: 31.05 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/1.085, allocations: 10.8 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/1.085, allocations: 5.922 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/1.085, allocations: 13.89 kB / 1.306 GB, free: 30.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/1.085, allocations: 2.594 kB / 1.306 GB, free: 30.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/1.085, allocations: 131.2 kB / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/1.085, allocations: 10.2 kB / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/1.085, allocations: 3.938 kB / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/1.085, allocations: 93.8 kB / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.085, allocations: 0 / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.354e-06/1.085, allocations: 0 / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.047e-05/1.085, allocations: 6.531 kB / 1.306 GB, free: 30.78 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.0005542/1.086, allocations: 355.3 kB / 1.306 GB, free: 30.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.086, allocations: 10.44 kB / 1.306 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/1.086, allocations: 38.69 kB / 1.307 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/1.086, allocations: 0.9375 kB / 1.307 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/1.086, allocations: 166.3 kB / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/1.086, allocations: 384 / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/1.086, allocations: 3.094 kB / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/1.086, allocations: 51.09 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.086, allocations: 3.938 kB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/1.086, allocations: 4 kB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.086, allocations: 2.812 kB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/1.086, allocations: 31.27 kB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/1.087, allocations: 251.2 kB / 1.307 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/1.087, allocations: 44.58 kB / 1.307 GB, free: 29.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/1.087, allocations: 23.58 kB / 1.307 GB, free: 29.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007536/1.088, allocations: 470 kB / 1.308 GB, free: 29.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.088, allocations: 30.56 kB / 1.308 GB, free: 29.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/1.088, allocations: 3.938 kB / 1.308 GB, free: 29.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003618/1.088, allocations: 84.12 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/1.088, allocations: 55.53 kB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/1.088, allocations: 99.8 kB / 1.308 GB, free: 29.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.088, allocations: 25.7 kB / 1.308 GB, free: 29.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/1.088, allocations: 85.88 kB / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/1.088, allocations: 7.953 kB / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/1.088, allocations: 12.81 kB / 1.308 GB, free: 28.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.052e-05/1.088, allocations: 314.2 kB / 1.308 GB, free: 28.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/1.088, allocations: 20.31 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/1.088, allocations: 14.02 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/1.089, allocations: 36.31 kB / 1.308 GB, free: 28.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.089, allocations: 7.875 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001654/1.089, allocations: 77.98 kB / 1.308 GB, free: 28.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.089, allocations: 5.719 kB / 1.308 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.089, allocations: 0 / 1.308 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.089, allocations: 0 / 1.308 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/1.089, allocations: 9.156 kB / 1.308 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.089, allocations: 0 / 1.308 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/1.089, allocations: 9.594 kB / 1.308 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/1.089, allocations: 0 / 1.308 GB, free: 28.54 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 6.816e-05/1.089, allocations: 119.9 kB / 1.308 GB, free: 28.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/1.089, allocations: 4 kB / 1.308 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/1.089, allocations: 78.09 kB / 1.309 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.089, allocations: 3.094 kB / 1.309 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.089, allocations: 0 / 1.309 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.089, allocations: 0 / 1.309 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/1.089, allocations: 158.7 kB / 1.309 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.089, allocations: 0 / 1.309 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/1.089, allocations: 12.33 kB / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.089, allocations: 192 / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.089, allocations: 0 / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.089, allocations: 5.969 kB / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.089, allocations: 0 / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/1.09, allocations: 164.2 kB / 1.309 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/1.09, allocations: 79.89 kB / 1.309 GB, free: 27.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/1.09, allocations: 8 kB / 1.309 GB, free: 27.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/1.09, allocations: 6.688 kB / 1.309 GB, free: 27.92 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/1.09, allocations: 6.844 kB / 1.309 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/1.09, allocations: 0 / 1.309 GB, free: 27.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.691e-05/1.09, allocations: 85.58 kB / 1.309 GB, free: 27.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.09, allocations: 0 / 1.309 GB, free: 27.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000253/1.09, allocations: 32.81 kB / 1.309 GB, free: 27.83 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.0005299/1.091, allocations: 0.7319 MB / 1.31 GB, free: 27.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002025/1.091, allocations: 38.08 kB / 1.31 GB, free: 27.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.091, allocations: 2.969 kB / 1.31 GB, free: 27.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/1.091, allocations: 19.47 kB / 1.31 GB, free: 27.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/1.091, allocations: 7.031 kB / 1.31 GB, free: 27.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/1.092, allocations: 155.3 kB / 1.31 GB, free: 26.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/1.092, allocations: 0.6719 MB / 1.311 GB, free: 26.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.494e-05/1.092, allocations: 6.109 kB / 1.311 GB, free: 26.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/1.092, allocations: 11.44 kB / 1.311 GB, free: 26.26 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.092, allocations: 0 / 1.311 GB, free: 26.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/1.119, allocations: 1.77 MB / 1.312 GB, free: 25.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/9.179, allocations: 7.094 kB / 1.312 GB, free: 25.86 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.881965943612158]