Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009322, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008203/0.008204, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.555/2.555, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 16 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8574/0.8578, allocations: 142.4 MB / 0.9551 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001007/0.8589, allocations: 323.5 kB / 0.9554 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.8597, allocations: 295.7 kB / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.8597, allocations: 0.9062 kB / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.8597, allocations: 0 / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.8597, allocations: 0 / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.8602, allocations: 76.17 kB / 0.9557 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.834e-05/0.8602, allocations: 1.125 kB / 0.9557 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.8603, allocations: 5.188 kB / 0.9557 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.8603, allocations: 4 kB / 0.9557 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.101e-05/0.8604, allocations: 1.5 kB / 0.9557 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.8604, allocations: 3.938 kB / 0.9557 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.8607, allocations: 135.2 kB / 0.9559 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.8607, allocations: 0 / 0.9559 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.8607, allocations: 25.7 kB / 0.9559 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.8609, allocations: 69.72 kB / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8609, allocations: 0 / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8609, allocations: 0 / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.861, allocations: 0.7812 kB / 0.9559 GB, free: 7.102 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002843/0.8612, allocations: 330.2 kB / 0.9563 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8613, allocations: 9.438 kB / 0.9563 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.8613, allocations: 2.344 kB / 0.9563 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.829e-05/0.8614, allocations: 164.4 kB / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.8614, allocations: 384 / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.8615, allocations: 1.312 kB / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.8616, allocations: 28.52 kB / 0.9565 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8616, allocations: 192 / 0.9565 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.8616, allocations: 7.938 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.8616, allocations: 0.9375 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.8616, allocations: 1.094 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.8618, allocations: 150.7 kB / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.828e-05/0.8618, allocations: 17.02 kB / 0.9566 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.8618, allocations: 10.03 kB / 0.9566 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.8626, allocations: 459 kB / 0.9571 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.8626, allocations: 31.59 kB / 0.9571 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.8626, allocations: 4.906 kB / 0.9571 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001648/0.8628, allocations: 41.78 kB / 0.9572 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8629, allocations: 52.38 kB / 0.9572 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.083e-05/0.8629, allocations: 93.98 kB / 0.9573 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.8629, allocations: 25.7 kB / 0.9573 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.8629, allocations: 80.89 kB / 0.9574 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.863, allocations: 5.062 kB / 0.9574 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.863, allocations: 9.719 kB / 0.9574 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.8631, allocations: 315.8 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-06/0.8631, allocations: 1.094 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.8631, allocations: 1.125 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.8631, allocations: 11.05 kB / 0.9577 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8631, allocations: 0 / 0.9577 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.642e-05/0.8632, allocations: 39.09 kB / 0.9578 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.8632, allocations: 5.594 kB / 0.9578 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8632, allocations: 3.938 kB / 0.9578 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.8632, allocations: 3.938 kB / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.8633, allocations: 1.906 kB / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8633, allocations: 1.094 kB / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.8633, allocations: 4 kB / 0.9578 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.8633, allocations: 5.062 kB / 0.9578 GB, free: 5.004 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 (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 6.443e-05/0.8634, allocations: 110.6 kB / 0.9579 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-06/0.8634, allocations: 0.875 kB / 0.9579 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.869e-05/0.8635, allocations: 40.88 kB / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8635, allocations: 0 / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8635, allocations: 5.031 kB / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8635, allocations: 0 / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.635e-05/0.8636, allocations: 146.7 kB / 0.9581 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8636, allocations: 1.031 kB / 0.9581 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.8636, allocations: 5.062 kB / 0.9581 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.8636, allocations: 0.875 kB / 0.9581 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.8637, allocations: 3.938 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8637, allocations: 1.031 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8637, allocations: 0 / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.566e-05/0.8637, allocations: 54.77 kB / 0.9581 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.8638, allocations: 86.52 kB / 0.9582 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.8638, allocations: 11.91 kB / 0.9582 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-06/0.8638, allocations: 1.188 kB / 0.9582 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.8638, allocations: 0 / 0.9582 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.8638, allocations: 1.406 kB / 0.9582 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.693e-05/0.8638, allocations: 75.28 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8638, allocations: 0 / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002406/0.8641, allocations: 29.41 kB / 0.9583 GB, free: 4.379 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 (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.0002839/0.8644, allocations: 141.6 kB / 0.9585 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.942e-05/0.8645, allocations: 7.578 kB / 0.9585 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8645, allocations: 0 / 0.9585 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-06/0.8645, allocations: 2.188 kB / 0.9585 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.8646, allocations: 2.406 kB / 0.9585 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001954/0.8648, allocations: 78.31 kB / 0.9586 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.865, allocations: 0.6703 MB / 0.9592 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.865, allocations: 1.062 kB / 0.9592 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.865, allocations: 11.42 kB / 0.9592 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8651, allocations: 1.094 kB / 0.9592 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.002953/0.868, allocations: 0.624 MB / 0.9598 GB, free: 3.141 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches