Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001583/0.001583, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001721/0.001721, allocations: 218.6 kB / 23.03 MB, free: 4.945 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.783/2.783, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 177] 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",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.002037/0.002037, allocations: 62.52 kB / 1.118 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001872/0.3432, allocations: 0.5921 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005317/0.3438, allocations: 175.6 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.3438, allocations: 0 / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.3438, allocations: 4 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.3438, allocations: 0 / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3442, allocations: 51.77 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.148e-05/0.3442, allocations: 7.984 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.3443, allocations: 4 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.3443, allocations: 4 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.3443, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.3443, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.3445, allocations: 71.86 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.3445, allocations: 0 / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.3445, allocations: 0 / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3446, allocations: 36.86 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3447, allocations: 0 / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3447, allocations: 0 / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3447, allocations: 0 / 1.285 GB, free: 9.711 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002883/0.3449, allocations: 242.4 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.345, allocations: 19.97 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.929e-05/0.345, allocations: 192 / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.345, allocations: 30.75 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.981e-05/0.3451, allocations: 0.9375 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.3451, allocations: 106.5 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3451, allocations: 384 / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.3452, allocations: 8.312 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.392e-05/0.3452, allocations: 30.02 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3452, allocations: 4 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3453, allocations: 3.984 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3453, allocations: 4 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.3453, allocations: 4 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.3454, allocations: 120.7 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.3455, allocations: 22.59 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.3455, allocations: 4.859 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.3461, allocations: 75.98 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3461, allocations: 42.44 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3461, allocations: 0 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.3462, allocations: 41.62 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.3463, allocations: 51.41 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.453e-05/0.3463, allocations: 89.86 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3464, allocations: 25.7 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.3464, allocations: 80.14 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.3464, allocations: 3.953 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3464, allocations: 13.72 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3466, allocations: 315 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.3466, allocations: 0 / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.3466, allocations: 4 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.3466, allocations: 12.84 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3466, allocations: 4 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.623e-05/0.3467, allocations: 33.64 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3467, allocations: 7.938 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3467, allocations: 0 / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3467, allocations: 0 / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.3468, allocations: 4.094 kB / 1.286 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3468, allocations: 4 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-06/0.3468, allocations: 0 / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3468, allocations: 0 / 1.286 GB, free: 8.133 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 (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 8.828e-05/0.3469, allocations: 110.7 kB / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.3469, allocations: 7.922 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.218e-05/0.347, allocations: 36.7 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.347, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.347, allocations: 3.938 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.347, allocations: 3.938 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.3471, allocations: 124.8 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3471, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.3471, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3471, allocations: 3.938 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.3471, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3471, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3471, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.554e-05/0.3472, allocations: 61.12 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.3472, allocations: 4 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.3472, allocations: 7.938 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-06/0.3472, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.3472, allocations: 4.031 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.3472, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.3473, allocations: 75.28 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3473, allocations: 3.938 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000214/0.3475, allocations: 15.94 kB / 1.287 GB, free: 7.605 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 (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.0004756/0.348, allocations: 0.6201 MB / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.964e-05/0.348, allocations: 8 kB / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.348, allocations: 0 / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.766e-06/0.3481, allocations: 3.938 kB / 1.287 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.3482, allocations: 5.656 kB / 1.287 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.3485, allocations: 106.6 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.724e-05/0.3485, allocations: 55.36 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.165e-05/0.3485, allocations: 4 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.3486, allocations: 7.438 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3486, allocations: 4.125 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.3692, allocations: 1.306 MB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.63, allocations: 9.453 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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.529011478996836]