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.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_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.004999/0.005, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001213/0.001213, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.785/2.785, allocations: 469.4 MB / 0.7422 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.12 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3085, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002661/0.3112, allocations: 1.444 MB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005171/0.3117, allocations: 251.3 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.3118, allocations: 0 / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.3118, allocations: 7.922 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.979e-05/0.3119, allocations: 0 / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.3122, allocations: 51.83 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.3123, allocations: 31.84 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.3124, allocations: 8 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.3124, allocations: 7.938 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.3125, allocations: 15.92 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3125, allocations: 4 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3126, allocations: 59.88 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3127, allocations: 4 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.3127, allocations: 19.92 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3128, allocations: 51.8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3128, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3128, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.3129, allocations: 4 kB / 1.222 GB, free: 12.71 MB / 0.9825 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.0004217/0.3133, allocations: 345.1 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3133, allocations: 8.031 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.3134, allocations: 30.75 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.3134, allocations: 8.891 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.3135, allocations: 168.3 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3135, allocations: 4.359 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.3136, allocations: 4.375 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3137, allocations: 50.25 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3137, allocations: 3.938 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3138, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3138, allocations: 3.984 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.3139, allocations: 27.97 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.3142, allocations: 244.9 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.3144, allocations: 54.47 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.3145, allocations: 24.91 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006942/0.3152, allocations: 457.5 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3152, allocations: 34.56 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3152, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003528/0.3156, allocations: 81.58 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.3156, allocations: 55.41 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.3157, allocations: 106 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3157, allocations: 25.7 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.3158, allocations: 88.03 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.3158, allocations: 3.953 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3158, allocations: 17.72 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.3159, allocations: 310.8 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.316, allocations: 23.97 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.606e-05/0.3161, allocations: 15.98 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3163, allocations: 36.83 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3163, allocations: 3.938 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.3165, allocations: 69.53 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3165, allocations: 8 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3165, allocations: 8.031 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.3166, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.3166, allocations: 7.984 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3166, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.3167, allocations: 11.98 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3167, allocations: 8 kB / 1.224 GB, free: 10.08 MB / 0.9825 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.821e-05/0.3168, allocations: 110.3 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3168, allocations: 0 / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.3171, allocations: 76.78 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3171, allocations: 192 / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3171, allocations: 3.938 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3171, allocations: 3.984 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.3173, allocations: 161.6 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3173, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.3173, allocations: 8 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3173, allocations: 0 / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3174, allocations: 4.031 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3174, allocations: 3.984 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3174, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.3176, allocations: 159.4 kB / 1.224 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.3177, allocations: 85.09 kB / 1.224 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3177, allocations: 4 kB / 1.224 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.3178, allocations: 4.031 kB / 1.224 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.3178, allocations: 7.984 kB / 1.224 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3178, allocations: 0 / 1.224 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.3178, allocations: 79.28 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.653e-06/0.3178, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002446/0.3181, allocations: 19.88 kB / 1.225 GB, free: 9.27 MB / 0.9825 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.000603/0.3187, allocations: 0.7124 MB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.3189, allocations: 40 kB / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3189, allocations: 0 / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.319, allocations: 23.91 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3193, allocations: 0 / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.3197, allocations: 146.9 kB / 1.225 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.3199, allocations: 0.6768 MB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.3199, allocations: 4.125 kB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.32, allocations: 11.44 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.32, allocations: 3.938 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.3368, allocations: 1.513 MB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.945, allocations: 6.25 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/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) Reference file matches