Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 102.4 kB / 16.37 MB, free: 6.469 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.001072/0.001072, allocations: 191.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.193/2.193, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 64.06 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2506, allocations: 153 MB / 1.027 GB, free: 2.125 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002225/0.2528, allocations: 1.443 MB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006203/0.2535, allocations: 343.7 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.2535, allocations: 0 / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.2535, allocations: 0 / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.714e-05/0.2536, allocations: 3.938 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.254, allocations: 107.7 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.254, allocations: 19.92 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.2541, allocations: 8 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.2542, allocations: 7.938 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.2542, allocations: 11.98 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.2542, allocations: 4 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.2544, allocations: 115.8 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.2544, allocations: 11.92 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.2544, allocations: 8 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.2546, allocations: 87.75 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2546, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2546, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2546, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 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.0004036/0.2551, allocations: 359.5 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2551, allocations: 8.031 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.2551, allocations: 8.844 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.797e-05/0.2552, allocations: 168.4 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.2552, allocations: 4.375 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.2553, allocations: 4.375 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2554, allocations: 54.16 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.2555, allocations: 4.188 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2555, allocations: 7.938 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2555, allocations: 0 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2556, allocations: 31.91 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.256, allocations: 245 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.2561, allocations: 42.5 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.2562, allocations: 24.91 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/0.2568, allocations: 457.4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2568, allocations: 38.56 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2568, allocations: 4 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002948/0.2571, allocations: 77.58 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.2572, allocations: 51.41 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.2572, allocations: 105.8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.2573, allocations: 25.7 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.2573, allocations: 88.17 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.2573, allocations: 4 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.2573, allocations: 13.72 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.2574, allocations: 310.8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.2575, allocations: 19.97 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.2576, allocations: 15.98 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.2577, allocations: 40.83 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2577, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002168/0.2579, allocations: 73.5 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.258, allocations: 8 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.258, allocations: 3.984 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.258, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.2581, allocations: 12.02 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2581, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.2581, allocations: 4 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2581, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 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 5.908e-05/0.2582, allocations: 121.7 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.2582, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.2584, allocations: 80.72 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2584, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2584, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2585, allocations: 3.938 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.2586, allocations: 157.6 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2586, allocations: 3.984 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.2587, allocations: 8 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2587, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2587, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2587, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2587, allocations: 4.031 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.2589, allocations: 171.4 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.2589, allocations: 88.94 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.2589, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.259, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2591, allocations: 7.984 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.2591, allocations: 4.031 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.2591, allocations: 91.39 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2591, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002342/0.2593, allocations: 28 kB / 1.032 GB, free: 12.5 MB / 0.8106 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.0002/0.2596, allocations: 135.2 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.2597, allocations: 35.95 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2598, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.2598, allocations: 23.92 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2601, allocations: 12.06 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.2603, allocations: 97.62 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.2605, allocations: 0.6768 MB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.2606, allocations: 0 / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.2606, allocations: 11.44 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2606, allocations: 0 / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of Templates: time 0.00269/0.2633, allocations: 0.871 MB / 1.034 GB, free: 10.59 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches