Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",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.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.396/2.396, allocations: 437.1 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.537, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001899/0.539, allocations: 0.5786 MB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004334/0.5394, allocations: 191.3 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.036e-05/0.5394, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.538e-06/0.5395, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-06/0.5395, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.5398, allocations: 55.83 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.209e-05/0.5399, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.5399, allocations: 4 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.166e-05/0.5399, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.614e-05/0.54, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.54, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.5401, allocations: 63.88 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.5401, allocations: 7.922 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.5402, allocations: 0 / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.5403, allocations: 31.95 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5403, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5403, allocations: 4 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.5403, allocations: 0 / 1.018 GB, free: 1.594 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002506/0.5405, allocations: 319.6 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5406, allocations: 8.031 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.5406, allocations: 30.75 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.5406, allocations: 0.9375 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.725e-05/0.5407, allocations: 164.3 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.5407, allocations: 384 / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.5408, allocations: 4.375 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.5408, allocations: 34.27 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5409, allocations: 3.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.5409, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.5409, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.5409, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.541, allocations: 149.6 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.192e-05/0.5411, allocations: 18.52 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.5411, allocations: 8.953 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/0.5417, allocations: 457.5 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.5417, allocations: 30.56 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.5418, allocations: 0 / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001179/0.5419, allocations: 37.64 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.5419, allocations: 59.53 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.92e-05/0.542, allocations: 93.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.542, allocations: 25.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.542, allocations: 80.14 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.542, allocations: 7.875 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.5421, allocations: 17.72 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.5421, allocations: 314.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-06/0.5422, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.5422, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.5422, allocations: 12.86 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5422, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.825e-05/0.5423, allocations: 29.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5423, allocations: 8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5423, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5423, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.61e-05/0.5423, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5424, allocations: 7.922 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.5424, allocations: 8.094 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.5424, allocations: 0 / 1.02 GB, free: 15.36 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 (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 5.346e-05/0.5424, allocations: 105.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-06/0.5425, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.5425, allocations: 40.77 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5425, allocations: 3.984 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5425, allocations: 3.984 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5426, allocations: 4 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.338e-05/0.5426, allocations: 149.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5426, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.5427, allocations: 4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5427, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5427, allocations: 7.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5427, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5427, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.665e-05/0.5427, allocations: 61.06 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.5428, allocations: 81.14 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.5428, allocations: 7.938 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-06/0.5428, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.5428, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5428, allocations: 3.938 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.142e-05/0.5429, allocations: 75.28 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5429, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002097/0.5431, allocations: 19.98 kB / 1.021 GB, free: 14.7 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 (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.0003696/0.5435, allocations: 0.6185 MB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.5435, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5435, allocations: 96 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-06/0.5436, allocations: 15.94 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.5437, allocations: 3.078 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.544, allocations: 114.6 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.5441, allocations: 0.669 MB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.177e-05/0.5442, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.5442, allocations: 7.438 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5442, allocations: 3.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.5602, allocations: 1.121 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/7.217, allocations: 11.95 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches