Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001006/0.001006, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001161/0.001161, allocations: 173 kB / 23.36 MB, free: 1.133 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.9502/0.9502, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.301/2.301, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.477e-05, allocations: 3.297 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0009888/0.001004, allocations: 0.6156 MB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004245/0.001428, allocations: 271 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.095e-05/0.001439, allocations: 0 / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.001451, allocations: 8 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.001456, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.00182, allocations: 99.64 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.236e-05/0.001852, allocations: 0 / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.001883, allocations: 7.938 kB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.001904, allocations: 0 / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.829e-05/0.001922, allocations: 0 / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.00193, allocations: 0 / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.002112, allocations: 123.8 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.002123, allocations: 0 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.915e-06/0.002131, allocations: 4 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.002255, allocations: 95.67 kB / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.002257, allocations: 0 / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002257, allocations: 0 / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.00226, allocations: 4 kB / 0.8398 GB, free: 12.96 MB / 0.8073 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.0001824/0.002442, allocations: 224.6 kB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.00247, allocations: 8.625 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.00249, allocations: 4.938 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.948e-05/0.00254, allocations: 109.8 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.002548, allocations: 384 / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.002557, allocations: 4.359 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/0.00261, allocations: 38.2 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.002615, allocations: 192 / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.002621, allocations: 384 / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.002625, allocations: 384 / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-06/0.002634, allocations: 3.938 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6e-05/0.002694, allocations: 61.39 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.025e-05/0.002725, allocations: 14.58 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-06/0.002734, allocations: 8.953 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.003042, allocations: 79.92 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.003064, allocations: 38.5 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.003065, allocations: 0 / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.281e-05/0.003138, allocations: 33.69 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.003162, allocations: 55.53 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.017e-05/0.003193, allocations: 93.86 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.557e-06/0.003201, allocations: 25.7 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.661e-05/0.003218, allocations: 80.14 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.003241, allocations: 3.953 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.003259, allocations: 13.72 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.003329, allocations: 318.8 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-06/0.003334, allocations: 0 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-06/0.003337, allocations: 0 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.003359, allocations: 20.72 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003361, allocations: 64 / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.637e-05/0.003387, allocations: 33.7 kB / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.003396, allocations: 4 kB / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.003402, allocations: 11.98 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.003412, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.63e-05/0.003438, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.00344, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-06/0.003448, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-06/0.003451, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 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 4.543e-05/0.003496, allocations: 121.8 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-06/0.003499, allocations: 4.031 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.003538, allocations: 36.64 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.003539, allocations: 0 / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.00354, allocations: 0 / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.003543, allocations: 0 / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.272e-05/0.003585, allocations: 69.83 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.003586, allocations: 0 / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-06/0.003591, allocations: 0 / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.003591, allocations: 0 / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-06/0.003594, allocations: 0 / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.003597, allocations: 7.984 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.003597, allocations: 4.031 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.903e-05/0.003636, allocations: 57.02 kB / 0.8413 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-06/0.003641, allocations: 7.922 kB / 0.8413 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-06/0.003647, allocations: 4 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-06/0.00365, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.003658, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-07/0.003659, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.769e-06/0.003664, allocations: 4.859 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.003664, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001199/0.003784, allocations: 31.94 kB / 0.8414 GB, free: 11.14 MB / 0.8073 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.000153/0.003937, allocations: 124.3 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.109e-05/0.003978, allocations: 8.844 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.00398, allocations: 4 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.003985, allocations: 16.8 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.803e-05/0.004023, allocations: 3.938 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001301/0.004153, allocations: 74.44 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.316e-05/0.004177, allocations: 51.36 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.724e-06/0.004184, allocations: 0 / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.00421, allocations: 51.38 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/0.00421, allocations: 0 / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of Templates: time 0.001889/0.006099, allocations: 0.7539 MB / 0.8424 GB, free: 10 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198119570035487]