Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.001805/0.001805, 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.00219/0.00219, allocations: 196.8 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.61/2.61, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 71.33 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2549, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002288/0.2572, allocations: 1.434 MB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004592/0.2577, allocations: 237.1 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.2577, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.2577, allocations: 7.938 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.822e-05/0.2578, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.2581, allocations: 67.75 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.2581, allocations: 19.94 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.2582, allocations: 7.984 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.2582, allocations: 8 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.067e-05/0.2583, allocations: 11.92 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.2583, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2584, allocations: 63.88 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.2584, allocations: 7.984 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.2584, allocations: 7.938 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.2586, allocations: 55.86 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2586, allocations: 4 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2586, allocations: 0 / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2586, allocations: 0 / 1.066 GB, free: 12.26 MB / 0.8262 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.0004201/0.259, allocations: 347.7 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2591, allocations: 12.03 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.2591, allocations: 30.75 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.2591, allocations: 4.922 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2592, allocations: 160.4 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2593, allocations: 8.375 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.2593, allocations: 4.312 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.2594, allocations: 50.23 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.2594, allocations: 3.938 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.2595, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2595, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.2596, allocations: 35.91 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.2599, allocations: 253 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2601, allocations: 38.44 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.2602, allocations: 24.89 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/0.2608, allocations: 457.5 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.2609, allocations: 30.56 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.2609, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003394/0.2612, allocations: 81.55 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.2613, allocations: 59.53 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.2614, allocations: 101.8 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2614, allocations: 25.7 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.2615, allocations: 88.14 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.2615, allocations: 3.906 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.2615, allocations: 13.72 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2617, allocations: 314.8 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.2618, allocations: 19.97 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.2619, allocations: 15.98 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.262, allocations: 36.83 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.262, allocations: 3.938 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.2622, allocations: 65.75 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2622, allocations: 11.94 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2623, allocations: 3.938 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2623, allocations: 192 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.2624, allocations: 11.98 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2624, allocations: 0 / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.2624, allocations: 7.984 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2624, allocations: 3.984 kB / 1.068 GB, free: 9.652 MB / 0.8262 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 7.93e-05/0.2625, allocations: 113.8 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2625, allocations: 8 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.2628, allocations: 64.78 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2628, allocations: 0 / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2628, allocations: 4 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2628, allocations: 0 / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.263, allocations: 165.5 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.263, allocations: 4 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.263, allocations: 7.938 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2631, allocations: 4.031 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.2631, allocations: 7.984 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2631, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2631, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.2633, allocations: 167.4 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.2634, allocations: 77.11 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.2634, allocations: 7.969 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.2635, allocations: 4 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.2635, allocations: 3.984 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2635, allocations: 4 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.2636, allocations: 79.28 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2636, allocations: 0 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002299/0.2638, allocations: 16 kB / 1.069 GB, free: 8.832 MB / 0.8262 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.0006587/0.2645, allocations: 0.7202 MB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2647, allocations: 39.98 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2647, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.2648, allocations: 23.92 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.265, allocations: 5.562 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.2654, allocations: 139.1 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2657, allocations: 0.6808 MB / 1.07 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.2657, allocations: 4 kB / 1.07 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.2658, allocations: 11.44 kB / 1.07 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2658, allocations: 0 / 1.07 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.322/1.587, allocations: 1.495 MB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.66, allocations: 5.656 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches