Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002573/0.002573, allocations: 215.7 kB / 22.25 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.42 kB / 1.117 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3299, allocations: 169.9 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002629/0.3325, allocations: 1.468 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005673/0.3331, allocations: 255.2 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.3331, allocations: 0 / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.3331, allocations: 3.984 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.3332, allocations: 3.938 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.3335, allocations: 63.81 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.3336, allocations: 19.94 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.3337, allocations: 11.98 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.3337, allocations: 0 / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.3338, allocations: 15.92 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3338, allocations: 4 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3339, allocations: 67.86 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.3339, allocations: 0 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.334, allocations: 15.88 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.3341, allocations: 59.38 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3341, allocations: 3.984 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3341, allocations: 0 / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3341, allocations: 4 kB / 1.285 GB, free: 9.594 MB / 0.9825 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.0004748/0.3346, allocations: 270.2 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3346, allocations: 12.03 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3347, allocations: 30.75 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.3347, allocations: 0.9375 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3348, allocations: 114.5 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.3348, allocations: 384 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3348, allocations: 384 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.335, allocations: 54.23 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.335, allocations: 3.938 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.335, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3351, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.3352, allocations: 35.95 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.3356, allocations: 220 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.3357, allocations: 46.44 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.3358, allocations: 20.89 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.3364, allocations: 75.92 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3364, allocations: 34.56 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3364, allocations: 0 / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003636/0.3368, allocations: 85.52 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.3368, allocations: 51.41 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.3369, allocations: 106 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3369, allocations: 29.7 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.337, allocations: 80.14 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.337, allocations: 3.953 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.337, allocations: 17.72 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3372, allocations: 314.8 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.3373, allocations: 11.98 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.3373, allocations: 23.98 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3375, allocations: 40.81 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3375, allocations: 3.938 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001852/0.3377, allocations: 61.61 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3377, allocations: 8 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3377, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3377, allocations: 4.094 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.421e-05/0.3378, allocations: 11.98 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3378, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.3378, allocations: 7.984 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3378, allocations: 7.938 kB / 1.287 GB, free: 7.645 MB / 0.9825 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 8.233e-05/0.3379, allocations: 113.8 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.3379, allocations: 3.953 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3382, allocations: 76.97 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3382, allocations: 3.938 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3382, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3382, allocations: 3.984 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.3384, allocations: 136.6 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3384, allocations: 0 / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.3384, allocations: 11.98 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3384, allocations: 0 / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3384, allocations: 0 / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3384, allocations: 4.031 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3384, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3387, allocations: 159.5 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.3387, allocations: 8.188 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3387, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.3388, allocations: 11.92 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3388, allocations: 8.016 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3388, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.3388, allocations: 79.28 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3388, allocations: 3.938 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000246/0.3391, allocations: 15.98 kB / 1.288 GB, free: 6.945 MB / 0.9825 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.0006548/0.3397, allocations: 0.718 MB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.34, allocations: 35.95 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.34, allocations: 4.094 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.3401, allocations: 19.92 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3403, allocations: 6.656 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.3408, allocations: 151 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.3411, allocations: 0.6729 MB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.3411, allocations: 0 / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.3411, allocations: 15.48 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3411, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3695, allocations: 1.618 MB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.99, allocations: 7.984 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.033019309001247]