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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001161/0.001161, 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.001211/0.001211, allocations: 195 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 70.22 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2541, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002506/0.2566, allocations: 1.434 MB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004865/0.2571, allocations: 251.2 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.2571, allocations: 3.938 kB / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.2572, allocations: 0 / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.2572, allocations: 11.92 kB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.2576, allocations: 67.02 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.2576, allocations: 23.92 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.2577, allocations: 4 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.2578, allocations: 11.98 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.547e-05/0.2578, allocations: 15.91 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.2578, allocations: 0 / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.258, allocations: 59.89 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.258, allocations: 11.98 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.258, allocations: 3.938 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2581, allocations: 59.86 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2581, allocations: 0 / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2582, allocations: 0 / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2582, allocations: 0 / 1.055 GB, free: 6.301 MB / 0.8106 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.0003859/0.2585, allocations: 343.8 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2586, allocations: 12.62 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.2586, allocations: 34.73 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.2587, allocations: 4.844 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.2588, allocations: 168.4 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.2588, allocations: 4.375 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.2588, allocations: 4.375 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.259, allocations: 50.17 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.259, allocations: 3.938 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.259, allocations: 4 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.259, allocations: 0 / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.2592, allocations: 35.95 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.2594, allocations: 249 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.2596, allocations: 38.5 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.2597, allocations: 24.89 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/0.2603, allocations: 461.4 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2604, allocations: 34.55 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.2604, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003365/0.2607, allocations: 81.75 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.2607, allocations: 55.39 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.2608, allocations: 93.86 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2608, allocations: 29.7 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.2609, allocations: 88.05 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.2609, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.2609, allocations: 17.7 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.261, allocations: 314.8 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.2611, allocations: 23.89 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.2612, allocations: 15.98 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2613, allocations: 40.81 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2614, allocations: 3.938 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.2616, allocations: 73.58 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2616, allocations: 4 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2616, allocations: 3.984 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2616, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.2617, allocations: 8 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2617, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.2617, allocations: 7.984 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.2618, allocations: 3.938 kB / 1.057 GB, free: 3.684 MB / 0.8106 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.405e-05/0.2618, allocations: 123.3 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.2619, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.2621, allocations: 64.78 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2621, allocations: 3.984 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2621, allocations: 0 / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2621, allocations: 4 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2622, allocations: 165.5 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2622, allocations: 32 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.2623, allocations: 11.98 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2623, allocations: 0 / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2623, allocations: 8 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2623, allocations: 0 / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2623, allocations: 0 / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.2626, allocations: 167.4 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.2626, allocations: 81.2 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2626, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.2627, allocations: 15.97 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.2627, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2628, allocations: 4 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.079e-05/0.2628, allocations: 79.27 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2628, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002411/0.263, allocations: 16 kB / 1.058 GB, free: 2.855 MB / 0.8106 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.0005219/0.2636, allocations: 0.7163 MB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.2638, allocations: 39.95 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2638, allocations: 0 / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.2639, allocations: 19.98 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2641, allocations: 7.938 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.2645, allocations: 155.1 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.2647, allocations: 0.6729 MB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.2647, allocations: 4 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.2648, allocations: 11.42 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2648, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.2812, allocations: 1.478 MB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.78, allocations: 12.55 kB / 1.061 GB, free: 15.7 MB / 0.8262 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 & /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 --timeout=50 --tolerance=1e-06 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.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) Reference file matches