Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_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.001141/0.001142, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001127/0.001127, allocations: 192.5 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.2 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.92 kB / 0.8127 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3167, allocations: 140.4 MB / 0.9498 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003129/0.3198, allocations: 1.496 MB / 0.9512 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.3206, allocations: 343.7 kB / 0.9516 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.3206, allocations: 3.938 kB / 0.9516 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.3207, allocations: 0 / 0.9516 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.3208, allocations: 0 / 0.9516 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.3213, allocations: 91.8 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.3213, allocations: 27.92 kB / 0.9517 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.3214, allocations: 4 kB / 0.9517 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.3215, allocations: 11.98 kB / 0.9517 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.365e-05/0.3215, allocations: 11.94 kB / 0.9517 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.3215, allocations: 4 kB / 0.9517 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.3218, allocations: 131.7 kB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.3218, allocations: 4 kB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.3218, allocations: 11.92 kB / 0.9518 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.322, allocations: 55.91 kB / 0.9519 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.322, allocations: 0 / 0.9519 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.322, allocations: 0 / 0.9519 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.322, allocations: 0 / 0.9519 GB, free: 7.113 MB / 0.7325 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.0004458/0.3224, allocations: 359.7 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3225, allocations: 8.031 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.3225, allocations: 4.938 kB / 0.9523 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3226, allocations: 168.3 kB / 0.9524 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3226, allocations: 384 / 0.9524 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3227, allocations: 384 / 0.9524 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3228, allocations: 50.23 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3229, allocations: 192 / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3229, allocations: 11.94 kB / 0.9525 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3229, allocations: 3.938 kB / 0.9525 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.3231, allocations: 31.91 kB / 0.9525 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.3234, allocations: 253 kB / 0.9527 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3235, allocations: 38.5 kB / 0.9528 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.3236, allocations: 24.91 kB / 0.9528 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/0.3243, allocations: 457.5 kB / 0.9532 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3243, allocations: 38.5 kB / 0.9533 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.3243, allocations: 0 / 0.9533 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003669/0.3247, allocations: 81.64 kB / 0.9534 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3247, allocations: 51.41 kB / 0.9534 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.3248, allocations: 109.8 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3249, allocations: 25.7 kB / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.3249, allocations: 88.2 kB / 0.9536 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.325, allocations: 3.906 kB / 0.9536 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.325, allocations: 13.72 kB / 0.9536 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3251, allocations: 314.8 kB / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.3252, allocations: 15.97 kB / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.3253, allocations: 19.98 kB / 0.954 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3255, allocations: 40.83 kB / 0.954 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3255, allocations: 0 / 0.954 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.3257, allocations: 73.5 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.3257, allocations: 4 kB / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3257, allocations: 4 kB / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3257, allocations: 0 / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.3258, allocations: 7.984 kB / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3259, allocations: 4.031 kB / 0.9541 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.3259, allocations: 4 kB / 0.9541 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3259, allocations: 0 / 0.9541 GB, free: 4.531 MB / 0.7325 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 0.000105/0.326, allocations: 121.8 kB / 0.9542 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.3261, allocations: 0 / 0.9542 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3263, allocations: 72.72 kB / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3263, allocations: 4.031 kB / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3263, allocations: 0 / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3263, allocations: 0 / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3265, allocations: 157.6 kB / 0.9544 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3265, allocations: 3.984 kB / 0.9544 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.3266, allocations: 19.94 kB / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3266, allocations: 0 / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.3266, allocations: 0 / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3266, allocations: 0 / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3266, allocations: 0 / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3269, allocations: 167.4 kB / 0.9546 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.3269, allocations: 85.03 kB / 0.9547 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3269, allocations: 0 / 0.9547 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.327, allocations: 4 kB / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.3271, allocations: 11.98 kB / 0.9547 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.3271, allocations: 0 / 0.9547 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.3271, allocations: 83.31 kB / 0.9548 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3271, allocations: 0 / 0.9548 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002686/0.3274, allocations: 28 kB / 0.9548 GB, free: 3.688 MB / 0.7325 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.0002954/0.3277, allocations: 131.2 kB / 0.955 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3279, allocations: 39.95 kB / 0.955 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.328, allocations: 0 / 0.955 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.328, allocations: 19.92 kB / 0.955 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3283, allocations: 18.55 kB / 0.955 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.3287, allocations: 135.3 kB / 0.9552 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.329, allocations: 0.6805 MB / 0.9558 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.329, allocations: 7.438 kB / 0.9558 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.329, allocations: 0 / 0.9558 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of Templates: time 0.003443/0.3325, allocations: 0.9819 MB / 0.9568 GB, free: 1.621 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches