Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001252/0.001252, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001208/0.001208, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 67.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7699, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002056/0.7719, allocations: 1.464 MB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005301/0.7725, allocations: 346.3 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.7725, allocations: 0.875 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.7725, allocations: 4.781 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.963e-05/0.7725, allocations: 4.938 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.7729, allocations: 102.8 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.224e-05/0.773, allocations: 19.73 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.773, allocations: 7.719 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.7731, allocations: 4 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.422e-05/0.7731, allocations: 14.34 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.385e-06/0.7731, allocations: 2.625 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.7733, allocations: 124 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.7733, allocations: 5.578 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.7734, allocations: 15.56 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.7735, allocations: 85.36 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7735, allocations: 4.656 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7735, allocations: 1.828 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7735, allocations: 0 / 1.274 GB, free: 6.328 MB / 0.9981 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.0003361/0.7739, allocations: 350.1 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.7739, allocations: 9.5 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.296e-05/0.7739, allocations: 39.42 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.7739, allocations: 6.016 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.498e-05/0.774, allocations: 170.3 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-06/0.774, allocations: 1.5 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.774, allocations: 1.406 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.7742, allocations: 48.31 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.7742, allocations: 4.938 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.7742, allocations: 0 / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.7742, allocations: 1 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.7743, allocations: 32.28 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.7745, allocations: 255 kB / 1.274 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7746, allocations: 34.2 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.7747, allocations: 25.23 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/0.7752, allocations: 461 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.7752, allocations: 31.59 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7752, allocations: 0 / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003142/0.7755, allocations: 87.83 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.425e-05/0.7756, allocations: 56.34 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.24e-05/0.7756, allocations: 105.2 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.7756, allocations: 26.33 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.7756, allocations: 85.41 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.7756, allocations: 8.109 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.7757, allocations: 12.75 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.083e-05/0.7757, allocations: 316.1 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.7758, allocations: 17.34 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.7758, allocations: 17.22 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.776, allocations: 38.45 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.776, allocations: 3.938 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001701/0.7761, allocations: 71.59 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.7762, allocations: 5.562 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.7762, allocations: 0 / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7762, allocations: 0.8438 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.7762, allocations: 12.09 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.7762, allocations: 0 / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.7763, allocations: 10.8 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.7763, allocations: 1.219 kB / 1.276 GB, free: 4.086 MB / 0.9981 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 3.557e-05/0.7763, allocations: 116.9 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.7763, allocations: 9.125 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.7765, allocations: 70.66 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7765, allocations: 0.9062 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7765, allocations: 0 / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.7765, allocations: 0.9375 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.427e-05/0.7766, allocations: 160.1 kB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7766, allocations: 4.031 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.7767, allocations: 9.281 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7767, allocations: 1.031 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.7767, allocations: 0 / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.7767, allocations: 1.766 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7767, allocations: 0 / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.7769, allocations: 174.5 kB / 1.276 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.7769, allocations: 80.02 kB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.7769, allocations: 0 / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.777, allocations: 11.31 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.777, allocations: 1.031 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.777, allocations: 4.812 kB / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.795e-05/0.777, allocations: 85.2 kB / 1.276 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.777, allocations: 0 / 1.276 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002356/0.7773, allocations: 27.41 kB / 1.276 GB, free: 3.379 MB / 0.9981 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.0004332/0.7777, allocations: 0.7311 MB / 1.277 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.7779, allocations: 39 kB / 1.277 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7779, allocations: 1.188 kB / 1.277 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.778, allocations: 18.73 kB / 1.277 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.7782, allocations: 10.27 kB / 1.277 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.7785, allocations: 150.3 kB / 1.277 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.7787, allocations: 0.6788 MB / 1.278 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.7787, allocations: 1.25 kB / 1.278 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.7787, allocations: 14.06 kB / 1.278 GB, free: 17.82 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.7787, allocations: 0 / 1.278 GB, free: 17.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.8007, allocations: 1.747 MB / 1.28 GB, free: 17.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.752, allocations: 5.797 kB / 1.28 GB, free: 17.43 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.996235552000144]