Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.002095/0.002095, allocations: 108 kB / 16.4 MB, free: 6.492 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.00228/0.00228, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.41/1.41, allocations: 222.9 MB / 245.1 MB, free: 15.01 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 2.841/2.841, allocations: 489 MB / 0.7678 GB, free: 160 kB / 0.6231 GB " [Timeout remaining time 177] 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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002658, allocations: 64.14 kB / 1.101 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8226, allocations: 163.8 MB / 1.261 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002122/0.8248, allocations: 0.5883 MB / 1.262 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.8255, allocations: 300.1 kB / 1.262 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.8255, allocations: 0 / 1.262 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.8255, allocations: 4 kB / 1.262 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.8256, allocations: 0 / 1.262 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.8262, allocations: 95.72 kB / 1.262 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.995e-05/0.8262, allocations: 0 / 1.262 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.8263, allocations: 0 / 1.262 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.8263, allocations: 7.938 kB / 1.262 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.142e-05/0.8263, allocations: 3.984 kB / 1.262 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.8263, allocations: 0 / 1.262 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.8266, allocations: 111.8 kB / 1.262 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.335e-06/0.8266, allocations: 0 / 1.262 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.8267, allocations: 3.984 kB / 1.262 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.8269, allocations: 82.38 kB / 1.262 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8269, allocations: 0 / 1.262 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8269, allocations: 0 / 1.262 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8269, allocations: 0 / 1.262 GB, free: 6.117 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004129/0.8273, allocations: 333.2 kB / 1.263 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8274, allocations: 8.031 kB / 1.263 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.8274, allocations: 30.75 kB / 1.263 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.8275, allocations: 0.9375 kB / 1.263 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.8276, allocations: 160.4 kB / 1.263 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.8276, allocations: 4.375 kB / 1.263 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.8276, allocations: 4.375 kB / 1.263 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.8277, allocations: 34.19 kB / 1.263 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.8278, allocations: 3.938 kB / 1.263 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.8278, allocations: 3.938 kB / 1.263 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8278, allocations: 0 / 1.263 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.8278, allocations: 4 kB / 1.263 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.828, allocations: 145.7 kB / 1.263 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.177e-05/0.828, allocations: 18.58 kB / 1.263 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.8281, allocations: 8.953 kB / 1.263 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/0.829, allocations: 457.5 kB / 1.263 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.829, allocations: 38.5 kB / 1.263 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.829, allocations: 0 / 1.263 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.8292, allocations: 41.58 kB / 1.263 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.8293, allocations: 55.41 kB / 1.264 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.8293, allocations: 93.86 kB / 1.264 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.8293, allocations: 25.7 kB / 1.264 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.8294, allocations: 80.14 kB / 1.264 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.8294, allocations: 3.938 kB / 1.264 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.8294, allocations: 9.719 kB / 1.264 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.8296, allocations: 319 kB / 1.264 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.8296, allocations: 0 / 1.264 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.8296, allocations: 0 / 1.264 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.8297, allocations: 16.8 kB / 1.264 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8297, allocations: 0 / 1.264 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.849e-05/0.8297, allocations: 33.69 kB / 1.264 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8298, allocations: 4 kB / 1.264 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8298, allocations: 8.031 kB / 1.264 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8298, allocations: 4 kB / 1.264 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.8298, allocations: 0 / 1.264 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8299, allocations: 0 / 1.264 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-06/0.8299, allocations: 0 / 1.264 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.8299, allocations: 0 / 1.264 GB, free: 3.883 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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 7.786e-05/0.83, allocations: 113.8 kB / 1.264 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.83, allocations: 0 / 1.264 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-05/0.8301, allocations: 48.69 kB / 1.264 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8301, allocations: 4.031 kB / 1.264 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8301, allocations: 0 / 1.264 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.8301, allocations: 0 / 1.264 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.8302, allocations: 149.7 kB / 1.264 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8302, allocations: 11.92 kB / 1.264 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.8303, allocations: 0 / 1.264 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8303, allocations: 0 / 1.264 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.8303, allocations: 3.938 kB / 1.264 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8303, allocations: 0 / 1.264 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8303, allocations: 4 kB / 1.264 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.01e-05/0.8304, allocations: 61.08 kB / 1.264 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.8304, allocations: 81.09 kB / 1.265 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.8305, allocations: 3.938 kB / 1.265 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.8305, allocations: 0 / 1.265 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.8305, allocations: 4 kB / 1.265 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.8305, allocations: 0 / 1.265 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.8306, allocations: 75.28 kB / 1.265 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.91e-07/0.8306, allocations: 0 / 1.265 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002296/0.8308, allocations: 27.97 kB / 1.265 GB, free: 3.203 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.0005803/0.8314, allocations: 0.6319 MB / 1.265 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.5e-05/0.8315, allocations: 7.938 kB / 1.265 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8315, allocations: 0 / 1.265 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.8315, allocations: 8 kB / 1.265 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.8316, allocations: 0 / 1.265 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.8319, allocations: 110.8 kB / 1.265 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.8323, allocations: 0.6768 MB / 1.266 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.8323, allocations: 3.984 kB / 1.266 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.8323, allocations: 7.438 kB / 1.266 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.8323, allocations: 0 / 1.266 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.8569, allocations: 1.389 MB / 1.267 GB, free: 372 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.915, allocations: 3.938 kB / 1.267 GB, free: 368 kB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.008988281013444]