Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001732/0.001732, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002141/0.002141, allocations: 214.7 kB / 23.04 MB, free: 5.074 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.682/1.682, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.239/3.239, allocations: 0.49 GB / 0.7959 GB, free: 33.5 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_12_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.002003/0.002003, allocations: 64.22 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4121, allocations: 176.1 MB / 1.327 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001855/0.414, allocations: 0.5931 MB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.4145, allocations: 211.7 kB / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.4145, allocations: 0 / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.4145, allocations: 0 / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.4146, allocations: 0 / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.415, allocations: 51.84 kB / 1.328 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.646e-05/0.415, allocations: 3.984 kB / 1.328 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.4151, allocations: 4 kB / 1.328 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.4151, allocations: 0 / 1.328 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.404e-05/0.4151, allocations: 11.92 kB / 1.328 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.232e-06/0.4151, allocations: 0 / 1.328 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.4153, allocations: 55.89 kB / 1.328 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.4153, allocations: 0 / 1.328 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.387e-05/0.4153, allocations: 4 kB / 1.328 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.4154, allocations: 36.16 kB / 1.328 GB, free: 0.957 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4154, allocations: 0 / 1.328 GB, free: 0.957 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4154, allocations: 0 / 1.328 GB, free: 0.957 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4154, allocations: 0 / 1.328 GB, free: 0.957 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003007/0.4157, allocations: 250.4 kB / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4158, allocations: 8.031 kB / 1.328 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.325e-05/0.4158, allocations: 4.188 kB / 1.328 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.4159, allocations: 30.75 kB / 1.328 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.4159, allocations: 4.875 kB / 1.328 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.416, allocations: 106.5 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.416, allocations: 384 / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.416, allocations: 4.359 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.4161, allocations: 38.02 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.4161, allocations: 0 / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4161, allocations: 4 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4161, allocations: 0 / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.4161, allocations: 0 / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.4163, allocations: 116.7 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.569e-05/0.4163, allocations: 26.48 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.4163, allocations: 8.859 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.417, allocations: 75.97 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.417, allocations: 34.5 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.417, allocations: 0 / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.4171, allocations: 37.78 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4172, allocations: 63.38 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.4172, allocations: 89.86 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4173, allocations: 25.7 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.4173, allocations: 80.14 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.4173, allocations: 3.953 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.4174, allocations: 9.719 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4175, allocations: 318.8 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.4175, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.4175, allocations: 4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.4175, allocations: 8.859 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4175, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.276e-05/0.4176, allocations: 33.69 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4176, allocations: 11.94 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4176, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4176, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.083e-05/0.4177, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4177, allocations: 4.094 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-06/0.4177, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.4177, allocations: 4 kB / 1.329 GB, free: 15.38 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 (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 9.39e-05/0.4178, allocations: 110.4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.4178, allocations: 3.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.504e-05/0.4179, allocations: 36.69 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.4179, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4179, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4179, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.418, allocations: 124.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.418, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.418, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.418, allocations: 3.938 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.418, allocations: 7.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.418, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.418, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.974e-05/0.4181, allocations: 57.14 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.4181, allocations: 3.984 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.4181, allocations: 11.92 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.4181, allocations: 3.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.4181, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.4182, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.4182, allocations: 75.28 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4182, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002111/0.4184, allocations: 19.94 kB / 1.329 GB, free: 14.84 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 (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.0005279/0.4189, allocations: 0.6201 MB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.419, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.419, allocations: 4.094 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-06/0.419, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.4192, allocations: 1.719 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.4195, allocations: 118.5 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4198, allocations: 0.6729 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.064e-05/0.4198, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.4198, allocations: 7.438 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4198, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.4421, allocations: 1.279 MB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.6, allocations: 8.266 kB / 1.332 GB, free: 12.17 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.881417549971957]