Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 189.3 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.89 kB / 0.8689 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6296, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002317/0.632, allocations: 1.492 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004506/0.6324, allocations: 256 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.6325, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.6325, allocations: 4 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/0.6325, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.6329, allocations: 63.81 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.926e-05/0.6329, allocations: 23.88 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.326e-05/0.633, allocations: 7.984 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.633, allocations: 8 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.6331, allocations: 11.91 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.6331, allocations: 4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.6332, allocations: 67.88 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.6333, allocations: 8 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.6333, allocations: 7.938 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.6334, allocations: 55.84 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.6334, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6334, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6334, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 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.0003977/0.6338, allocations: 355 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.6339, allocations: 8.031 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.6339, allocations: 34.75 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.6339, allocations: 8.938 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.842e-05/0.634, allocations: 164.3 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.634, allocations: 4.359 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.6341, allocations: 4.375 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.6342, allocations: 42.25 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6342, allocations: 3.938 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.6343, allocations: 4 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.6343, allocations: 0 / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.6344, allocations: 39.89 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.6347, allocations: 240.9 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.6348, allocations: 46.53 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.6349, allocations: 20.91 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.6356, allocations: 457.5 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.6356, allocations: 34.56 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.6356, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000321/0.6359, allocations: 89.56 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.636, allocations: 51.41 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.636, allocations: 105.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.6361, allocations: 25.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.6361, allocations: 84.08 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.6361, allocations: 7.906 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.6362, allocations: 13.84 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.6362, allocations: 314.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.6363, allocations: 19.97 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.628e-05/0.6364, allocations: 15.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.6366, allocations: 40.77 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6366, allocations: 11.94 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/0.6368, allocations: 61.66 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.6368, allocations: 9.719 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6368, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.6368, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.6369, allocations: 11.98 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6369, allocations: 7.922 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.6369, allocations: 11.89 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.637, allocations: 8.031 kB / 1.021 GB, free: 14.12 MB / 0.7794 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 6.377e-05/0.637, allocations: 110.3 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.637, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.6373, allocations: 80.72 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6373, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6373, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.6373, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.6374, allocations: 165.6 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6374, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.6375, allocations: 8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6375, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.6375, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6375, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6375, allocations: 3.984 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.6377, allocations: 167.4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.6378, allocations: 81.09 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.6378, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.6379, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.6379, allocations: 7.984 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.6379, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.638, allocations: 79.28 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.638, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002297/0.6382, allocations: 24.03 kB / 1.022 GB, free: 13.3 MB / 0.7794 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.0005274/0.6387, allocations: 0.7202 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.6389, allocations: 35.91 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.6389, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.639, allocations: 19.97 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.6392, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.6396, allocations: 135.4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.6399, allocations: 0.6768 MB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.6399, allocations: 3.938 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.6399, allocations: 11.44 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6399, allocations: 3.938 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/0.7759, allocations: 1.365 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.7762, allocations: 186.9 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.47, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches