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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008563/0.0008563, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004487/0.004487, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.362/2.362, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 12 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5446, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005039/0.5451, allocations: 313.6 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.5455, allocations: 207.3 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-06/0.5455, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.94e-06/0.5455, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.174e-06/0.5455, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.5457, allocations: 47.53 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 1.311e-05/0.5458, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.205e-05/0.5458, allocations: 4 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-06/0.5458, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-06/0.5458, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-06/0.5458, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.546, allocations: 67.86 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-06/0.546, allocations: 7.938 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.546, allocations: 25.7 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.711e-05/0.5461, allocations: 35.94 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.5461, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5461, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.5461, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 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.0001964/0.5463, allocations: 315.6 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.5463, allocations: 12.03 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.196e-05/0.5464, allocations: 34.69 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.081e-05/0.5464, allocations: 0.9375 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.603e-05/0.5465, allocations: 164.4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-06/0.5465, allocations: 384 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-06/0.5465, allocations: 4.375 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.795e-05/0.5465, allocations: 34.27 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.5465, allocations: 7.922 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-06/0.5466, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-06/0.5466, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.028e-05/0.5466, allocations: 3.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.79e-05/0.5467, allocations: 145.7 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 2.285e-05/0.5467, allocations: 18.52 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.067e-05/0.5467, allocations: 8.859 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/0.5473, allocations: 465.5 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.5474, allocations: 30.56 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5474, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 8.685e-05/0.5475, allocations: 45.62 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.5475, allocations: 59.34 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.242e-05/0.5475, allocations: 89.86 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.5475, allocations: 29.64 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.5476, allocations: 80.14 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.5476, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.5476, allocations: 9.719 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.5477, allocations: 310.8 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.5477, allocations: 4.125 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.5477, allocations: 4 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.713e-05/0.5478, allocations: 8.859 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.5478, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.015e-05/0.5478, allocations: 41.62 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.5478, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5478, allocations: 3.938 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.5479, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.312e-05/0.5479, allocations: 8.094 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.5479, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-06/0.5479, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-06/0.5479, allocations: 0 / 1.026 GB, free: 12.88 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.475e-05/0.548, allocations: 107.9 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.548, allocations: 4 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.548, allocations: 44.75 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5481, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.5481, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5481, allocations: 8.016 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.658e-05/0.5482, allocations: 141.7 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5482, allocations: 3.984 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.5482, allocations: 7.938 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5482, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.5482, allocations: 3.938 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.5482, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5482, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.361e-05/0.5483, allocations: 61.14 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.5483, allocations: 81.09 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-06/0.5483, allocations: 7.875 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.5483, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-06/0.5483, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.5483, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 1.97e-05/0.5484, allocations: 79.22 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5484, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002069/0.5486, allocations: 12 kB / 1.026 GB, free: 12.22 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.0003555/0.549, allocations: 0.6185 MB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.682e-05/0.549, allocations: 12.02 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.549, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.203e-06/0.549, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.983e-05/0.5491, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.5493, allocations: 108.3 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.5495, allocations: 0.677 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.744e-06/0.5496, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.078e-05/0.5496, allocations: 7.438 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5496, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5062/1.056, allocations: 0.9634 MB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.056, allocations: 199.6 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.625, allocations: 0 / 1.029 GB, free: 9.605 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