Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001673/0.001673, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002311/0.002311, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.213/3.213, allocations: 0.5003 GB / 0.8061 GB, free: 26.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.002504/0.002504, allocations: 69.16 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4155, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002855/0.4184, allocations: 1.464 MB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005717/0.419, allocations: 259.1 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.419, allocations: 0 / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.419, allocations: 7.922 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.4191, allocations: 7.938 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.4194, allocations: 59.83 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.4195, allocations: 16 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.4196, allocations: 11.97 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.4196, allocations: 4 kB / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.4197, allocations: 15.92 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.4197, allocations: 4 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.4198, allocations: 63.88 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.4198, allocations: 0 / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.4199, allocations: 11.94 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.42, allocations: 64.02 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.42, allocations: 3.984 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.42, allocations: 0 / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.42, allocations: 0 / 1.347 GB, free: 14.44 MB / 1.045 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.0004349/0.4205, allocations: 270.2 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4205, allocations: 8.031 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.903e-05/0.4205, allocations: 8.188 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.4205, allocations: 30.75 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.4206, allocations: 4.938 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.4207, allocations: 110.5 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.4207, allocations: 384 / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.4207, allocations: 384 / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.4209, allocations: 53.98 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4209, allocations: 0 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.4209, allocations: 0 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4209, allocations: 0 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.4211, allocations: 47.88 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.4214, allocations: 220 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.4215, allocations: 30.56 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.4216, allocations: 24.89 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/0.4222, allocations: 83.91 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4222, allocations: 38.5 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4222, allocations: 0 / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003673/0.4226, allocations: 81.64 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.4226, allocations: 55.41 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.4227, allocations: 97.84 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4227, allocations: 29.7 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.4228, allocations: 88.02 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.4228, allocations: 3.953 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.4228, allocations: 13.72 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.423, allocations: 323 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.4231, allocations: 15.98 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.4231, allocations: 15.98 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4233, allocations: 48.69 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4233, allocations: 0 / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.4235, allocations: 65.69 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4235, allocations: 9.875 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4235, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4235, allocations: 3.984 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.4236, allocations: 4 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4236, allocations: 4 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.4237, allocations: 3.984 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4237, allocations: 7.984 kB / 1.349 GB, free: 12.48 MB / 1.045 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.515e-05/0.4238, allocations: 117.8 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.4238, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.424, allocations: 72.91 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.424, allocations: 0 / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.424, allocations: 0 / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.424, allocations: 3.984 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4242, allocations: 128.7 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4242, allocations: 4.031 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.4242, allocations: 19.98 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4242, allocations: 0 / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.4243, allocations: 0 / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4243, allocations: 0 / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4243, allocations: 0 / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.4245, allocations: 167.4 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.4245, allocations: 11.89 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.4245, allocations: 0 / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.4246, allocations: 11.98 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.4246, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.4247, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.4247, allocations: 79.28 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4247, allocations: 3.938 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002447/0.4249, allocations: 19.98 kB / 1.35 GB, free: 11.78 MB / 1.045 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.000667/0.4256, allocations: 0.7085 MB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4258, allocations: 39.89 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4258, allocations: 3.938 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.4259, allocations: 19.98 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.4261, allocations: 4 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.4266, allocations: 155.2 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.4269, allocations: 0.6729 MB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.427, allocations: 0 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.427, allocations: 15.42 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.427, allocations: 0 / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.4495, allocations: 1.658 MB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.97, allocations: 0 / 1.353 GB, free: 8.551 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.90675859199837]