Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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.001419/0.001419, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001638/0.001638, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.149/3.149, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",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.002047/0.002047, allocations: 68.66 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003053/0.333, allocations: 1.45 MB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005674/0.3335, allocations: 247.6 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.3336, allocations: 4 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.3336, allocations: 0 / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.3336, allocations: 7.938 kB / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.334, allocations: 51.83 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.3341, allocations: 23.97 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.3342, allocations: 4 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.3342, allocations: 8 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.3343, allocations: 11.92 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.3343, allocations: 0 / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.3344, allocations: 67.88 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.3344, allocations: 11.94 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.3345, allocations: 11.92 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.3346, allocations: 56.03 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3346, allocations: 0 / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3346, allocations: 0 / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3346, allocations: 0 / 1.323 GB, free: 1.348 MB / 1.014 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.0005008/0.3351, allocations: 351.3 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3352, allocations: 11.98 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.3352, allocations: 38.75 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3352, allocations: 0.9375 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.3354, allocations: 164.3 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3354, allocations: 384 / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3354, allocations: 8.359 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.3356, allocations: 50.23 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3356, allocations: 3.938 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3356, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3356, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.3358, allocations: 43.89 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.3363, allocations: 245 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.3364, allocations: 38.55 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3365, allocations: 24.84 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007985/0.3373, allocations: 453.5 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.3373, allocations: 38.5 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.3373, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004023/0.3377, allocations: 81.58 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3378, allocations: 59.41 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.3379, allocations: 97.84 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3379, allocations: 25.7 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.338, allocations: 84.14 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.338, allocations: 7.953 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.338, allocations: 9.719 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3382, allocations: 323 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.3383, allocations: 15.98 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/0.3384, allocations: 15.98 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3385, allocations: 44.75 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3385, allocations: 3.938 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002148/0.3388, allocations: 61.73 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3388, allocations: 8 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3388, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3388, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.3389, allocations: 7.984 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3389, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.3389, allocations: 7.922 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3389, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 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.0001048/0.3391, allocations: 113.8 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.3391, allocations: 7.953 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.3393, allocations: 72.72 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3393, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3393, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3394, allocations: 3.984 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3396, allocations: 161.6 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3396, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.3396, allocations: 11.98 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3396, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3397, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3397, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3397, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.3399, allocations: 171.4 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.34, allocations: 81.11 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.34, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.3401, allocations: 11.92 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3401, allocations: 192 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3401, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.3402, allocations: 87.27 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3402, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002529/0.3404, allocations: 19.92 kB / 1.326 GB, free: 13.9 MB / 1.029 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.0007698/0.3412, allocations: 0.7202 MB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.3414, allocations: 39.89 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3414, allocations: 0 / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/0.3415, allocations: 19.98 kB / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.3418, allocations: 0 / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.3423, allocations: 151 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3427, allocations: 0.6729 MB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.3428, allocations: 0 / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.3428, allocations: 15.42 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3428, allocations: 0 / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3693, allocations: 1.517 MB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.575, allocations: 10.16 kB / 1.329 GB, free: 10.74 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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: 15.13462733803317]