Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_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.001255/0.001254, allocations: 108 kB / 15.6 MB, free: 132 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.001321/0.001321, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.398/2.398, allocations: 437.1 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 67.91 kB / 0.8694 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5071, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001727/0.5088, allocations: 0.5765 MB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.5093, allocations: 195.3 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.084e-05/0.5093, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.5093, allocations: 4 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-06/0.5093, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.5097, allocations: 51.83 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.35e-05/0.5097, allocations: 4 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.5098, allocations: 7.984 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.137e-05/0.5098, allocations: 7.938 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.507e-05/0.5098, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.971e-06/0.5098, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.51, allocations: 59.89 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.383e-06/0.51, allocations: 3.938 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.431e-05/0.51, allocations: 3.984 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.5101, allocations: 27.95 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5101, allocations: 0 / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5101, allocations: 0 / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5101, allocations: 0 / 1.018 GB, free: 1.629 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.0002377/0.5104, allocations: 331.6 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.5104, allocations: 8.031 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.5104, allocations: 34.75 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.083e-05/0.5105, allocations: 0.9375 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.006e-05/0.5105, allocations: 168.4 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.5106, allocations: 384 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-06/0.5106, allocations: 384 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.105e-05/0.5106, allocations: 30.2 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5107, allocations: 3.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.5107, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5107, allocations: 8 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497e-05/0.5107, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.5108, allocations: 149.6 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.5109, allocations: 18.61 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.5109, allocations: 12.84 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/0.5116, allocations: 457.5 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.5116, allocations: 38.48 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.5116, allocations: 7.984 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.5117, allocations: 33.64 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.5118, allocations: 51.41 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.148e-05/0.5118, allocations: 93.98 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.5118, allocations: 29.64 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.5118, allocations: 80.14 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.5119, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.5119, allocations: 17.72 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.512, allocations: 310.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.512, allocations: 3.984 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.512, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.512, allocations: 16.86 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.512, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.728e-05/0.5121, allocations: 33.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5121, allocations: 8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.5121, allocations: 7.875 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.5121, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-05/0.5122, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5122, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.5122, allocations: 4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5122, allocations: 3.984 kB / 1.02 GB, free: 15.38 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.167e-05/0.5123, allocations: 109.9 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.5123, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.5123, allocations: 40.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.5123, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.5124, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.5124, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.432e-05/0.5124, allocations: 153.7 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5124, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.5125, allocations: 32 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5125, allocations: 8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.5125, allocations: 7.938 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5125, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5125, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.42e-05/0.5126, allocations: 57.06 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.5126, allocations: 77.11 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.5126, allocations: 11.94 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.5126, allocations: 4.031 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-06/0.5126, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.5126, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.046e-05/0.5127, allocations: 79.22 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5127, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001921/0.5129, allocations: 12 kB / 1.021 GB, free: 14.72 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.0003521/0.5132, allocations: 0.6198 MB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.541e-05/0.5133, allocations: 7.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5133, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-06/0.5133, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.5134, allocations: 6.188 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.5137, allocations: 118.6 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.5139, allocations: 0.6729 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.278e-06/0.5139, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.5139, allocations: 7.438 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5139, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.5294, allocations: 1.128 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.661/7.191, allocations: 6.188 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches