Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009935, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.9 MB / 0.666 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004137, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8664, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001431/0.8679, allocations: 1.149 MB / 0.9556 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005437/0.8684, allocations: 338.1 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.8685, allocations: 0 / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.8685, allocations: 0 / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.8685, allocations: 1.281 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.8689, allocations: 86.66 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.8689, allocations: 22.77 kB / 0.956 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.869, allocations: 7.062 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.8691, allocations: 7.141 kB / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.34e-05/0.8691, allocations: 5.969 kB / 0.956 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.8691, allocations: 5.812 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.8694, allocations: 135.3 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.8694, allocations: 1.188 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.8694, allocations: 30.77 kB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.8695, allocations: 60.2 kB / 0.9562 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.8695, allocations: 1.094 kB / 0.9562 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8695, allocations: 0 / 0.9562 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.8696, allocations: 3.938 kB / 0.9562 GB, free: 6.297 MB / 0.7169 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.0003834/0.8699, allocations: 355.6 kB / 0.9566 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.87, allocations: 9.188 kB / 0.9566 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.87, allocations: 4.984 kB / 0.9566 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.8701, allocations: 172.1 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.8701, allocations: 1.125 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.8701, allocations: 1.094 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.8703, allocations: 55.78 kB / 0.9568 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.8703, allocations: 0 / 0.9568 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.8703, allocations: 0 / 0.9568 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8703, allocations: 1.062 kB / 0.9568 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.8705, allocations: 48.27 kB / 0.9568 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.8708, allocations: 252.7 kB / 0.9571 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.8709, allocations: 43.91 kB / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.871, allocations: 27.78 kB / 0.9572 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.8716, allocations: 477.3 kB / 0.9576 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.8716, allocations: 35.88 kB / 0.9576 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8716, allocations: 0 / 0.9576 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003179/0.8719, allocations: 106.2 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.872, allocations: 52.22 kB / 0.9578 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.872, allocations: 98.61 kB / 0.9579 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.872, allocations: 25.7 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.872, allocations: 85.73 kB / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.8721, allocations: 13.33 kB / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.8721, allocations: 0 / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.8721, allocations: 312.3 kB / 0.9583 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.8722, allocations: 23.58 kB / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.8723, allocations: 19.73 kB / 0.9584 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.8724, allocations: 26.28 kB / 0.9584 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.8724, allocations: 0 / 0.9584 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001673/0.8725, allocations: 79.61 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8726, allocations: 3.719 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8726, allocations: 2 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8726, allocations: 0 / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.8727, allocations: 19.66 kB / 0.9585 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8727, allocations: 5.906 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.8727, allocations: 13.89 kB / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.8727, allocations: 0 / 0.9585 GB, free: 3.992 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.8728, allocations: 107.6 kB / 0.9586 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.8728, allocations: 5.516 kB / 0.9586 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.8731, allocations: 88.28 kB / 0.9587 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.8731, allocations: 0 / 0.9587 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8731, allocations: 3.953 kB / 0.9587 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8731, allocations: 3.984 kB / 0.9587 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.8732, allocations: 154 kB / 0.9588 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8732, allocations: 1.406 kB / 0.9588 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.8733, allocations: 15.86 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8733, allocations: 0 / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.8733, allocations: 1.406 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8733, allocations: 4.031 kB / 0.9589 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8733, allocations: 0 / 0.9589 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.8735, allocations: 176.6 kB / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.8735, allocations: 82.42 kB / 0.9591 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.8736, allocations: 1.562 kB / 0.9591 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.8736, allocations: 10.27 kB / 0.9591 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.8737, allocations: 0 / 0.9591 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.8737, allocations: 1.5 kB / 0.9591 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.642e-05/0.8737, allocations: 81.97 kB / 0.9592 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8737, allocations: 0 / 0.9592 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002759/0.874, allocations: 36.5 kB / 0.9592 GB, free: 3.25 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002677/0.8743, allocations: 139.2 kB / 0.9594 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8745, allocations: 47.25 kB / 0.9594 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8745, allocations: 0 / 0.9594 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.8746, allocations: 28.72 kB / 0.9594 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.8748, allocations: 1.219 kB / 0.9594 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.8751, allocations: 111.5 kB / 0.9595 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.8753, allocations: 0.6733 MB / 0.9602 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.8753, allocations: 1.375 kB / 0.9602 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.8753, allocations: 8.812 kB / 0.9602 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.8753, allocations: 0 / 0.9602 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.003625/0.8789, allocations: 0.8397 MB / 0.961 GB, free: 1.855 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches