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 12.0.0-master/package.mo", uses=false) 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: 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.001263/0.001263, allocations: 110.1 kB / 15.99 MB, free: 6.359 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.001306/0.001306, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 482.2 MB / 0.7548 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 72.2 kB / 0.9238 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8243, allocations: 162.2 MB / 1.082 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002488/0.8269, allocations: 1.501 MB / 1.084 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005806/0.8275, allocations: 343.4 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.8275, allocations: 1.156 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.8275, allocations: 4.5 kB / 1.084 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.8276, allocations: 1.5 kB / 1.084 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.828, allocations: 92.42 kB / 1.084 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.223e-05/0.828, allocations: 19.98 kB / 1.084 GB, free: 400 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.35e-05/0.8281, allocations: 5.156 kB / 1.084 GB, free: 400 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.8282, allocations: 11.94 kB / 1.084 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.8282, allocations: 10.02 kB / 1.084 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.8282, allocations: 2.469 kB / 1.084 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.8284, allocations: 132.9 kB / 1.084 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.8285, allocations: 1.25 kB / 1.084 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.8285, allocations: 15.78 kB / 1.084 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.8286, allocations: 59.94 kB / 1.084 GB, free: 312 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8286, allocations: 0.6094 kB / 1.084 GB, free: 312 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8286, allocations: 1.25 kB / 1.084 GB, free: 312 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.8286, allocations: 0 / 1.084 GB, free: 312 kB / 0.8262 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.0004101/0.8291, allocations: 353.2 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.8291, allocations: 9.719 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.8291, allocations: 6.328 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.8293, allocations: 162.8 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.8293, allocations: 5.469 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.8293, allocations: 2.219 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8295, allocations: 48.27 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.8295, allocations: 1.188 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.8296, allocations: 4.688 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.8296, allocations: 0.9375 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.8297, allocations: 36.3 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.8301, allocations: 250.2 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.8302, allocations: 41.19 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.96e-05/0.8303, allocations: 23.64 kB / 1.085 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.8311, allocations: 460.8 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.8311, allocations: 36.34 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8311, allocations: 0 / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003416/0.8315, allocations: 83.61 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.8315, allocations: 56.34 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.8316, allocations: 101.8 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.8316, allocations: 25.7 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.8317, allocations: 85.69 kB / 1.086 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.8317, allocations: 10.08 kB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.8317, allocations: 12.84 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8319, allocations: 313.5 kB / 1.086 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.832, allocations: 21.58 kB / 1.086 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.8321, allocations: 14.11 kB / 1.086 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.8322, allocations: 45.23 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8322, allocations: 0 / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.8324, allocations: 74.83 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8324, allocations: 6.453 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.8325, allocations: 0 / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.8325, allocations: 1.219 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.8325, allocations: 8.203 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8326, allocations: 1.094 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.8326, allocations: 5.484 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.8326, allocations: 1.094 kB / 1.086 GB, free: 14.11 MB / 0.8419 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 9.469e-05/0.8327, allocations: 117.3 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.8327, allocations: 3.938 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.833, allocations: 75.39 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.833, allocations: 6.016 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.833, allocations: 0 / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.833, allocations: 0 / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.8332, allocations: 160.7 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8332, allocations: 0 / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.8333, allocations: 12.56 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8333, allocations: 1.094 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.8333, allocations: 0.75 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8333, allocations: 1.125 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8333, allocations: 0 / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.8335, allocations: 170.5 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.8336, allocations: 83.27 kB / 1.087 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.8336, allocations: 0.7031 kB / 1.087 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.8337, allocations: 6.578 kB / 1.087 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.8337, allocations: 1.922 kB / 1.087 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8337, allocations: 1.094 kB / 1.087 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.8338, allocations: 87.7 kB / 1.087 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8338, allocations: 1.031 kB / 1.087 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002599/0.8341, allocations: 28.59 kB / 1.087 GB, free: 13.4 MB / 0.8419 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.0002685/0.8343, allocations: 132.4 kB / 1.087 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.8345, allocations: 36.06 kB / 1.087 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8345, allocations: 4.062 kB / 1.087 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.693e-05/0.8346, allocations: 24.69 kB / 1.087 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.8349, allocations: 10.33 kB / 1.087 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.8352, allocations: 134.4 kB / 1.088 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.8355, allocations: 0.6768 MB / 1.088 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.8355, allocations: 8.531 kB / 1.088 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.8355, allocations: 4 kB / 1.088 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.002812/0.8384, allocations: 0.9797 MB / 1.089 GB, free: 12.37 MB / 0.8419 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 -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