Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_9_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.008586/0.008587, allocations: 101.9 kB / 15.73 MB, free: 6.469 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.001704/0.001704, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.67 kB / 0.9504 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3049, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00307/0.308, allocations: 1.427 MB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006182/0.3086, allocations: 260 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.3087, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.3088, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.3088, allocations: 7.938 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.3093, allocations: 63.75 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.3094, allocations: 23.92 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.834e-05/0.3095, allocations: 4 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.3095, allocations: 8 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.3096, allocations: 19.91 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.3096, allocations: 0 / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.3097, allocations: 55.94 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.3098, allocations: 8 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.3098, allocations: 7.938 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.31, allocations: 59.78 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.31, allocations: 4 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.31, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.31, allocations: 4 kB / 1.089 GB, free: 32 kB / 0.8419 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.0005104/0.3105, allocations: 343.2 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3106, allocations: 8.031 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.3106, allocations: 30.75 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.3107, allocations: 4.844 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.3108, allocations: 172.4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3108, allocations: 384 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.3108, allocations: 4.375 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.311, allocations: 50.23 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.311, allocations: 7.875 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.311, allocations: 3.984 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.311, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3112, allocations: 35.91 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.3115, allocations: 249 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.3117, allocations: 38.5 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.3117, allocations: 24.91 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.3125, allocations: 457.5 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3125, allocations: 34.5 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3125, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003517/0.3129, allocations: 85.55 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.3129, allocations: 55.53 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.313, allocations: 101.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.313, allocations: 29.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.313, allocations: 80.14 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.3131, allocations: 3.906 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3131, allocations: 17.72 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.3132, allocations: 310.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.3133, allocations: 23.97 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.3134, allocations: 19.92 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3135, allocations: 36.77 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3135, allocations: 3.938 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3138, allocations: 65.66 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3138, allocations: 8.094 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3138, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3138, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.3139, allocations: 11.98 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3139, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.314, allocations: 11.98 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.314, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 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.185e-05/0.314, allocations: 117.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3141, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.3143, allocations: 76.72 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3143, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3143, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3144, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.3145, allocations: 165.6 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3145, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.3146, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3146, allocations: 8.031 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3146, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3146, allocations: 3.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3146, allocations: 3.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.3149, allocations: 160.8 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.3149, allocations: 89 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3149, allocations: 4.031 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.315, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.315, allocations: 3.984 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3151, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.3151, allocations: 75.47 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3151, allocations: 4 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002386/0.3153, allocations: 12 kB / 1.092 GB, free: 12.6 MB / 0.8575 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.0005578/0.3159, allocations: 0.7126 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3161, allocations: 51.92 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3162, allocations: 3.938 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.3162, allocations: 11.98 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3165, allocations: 5.25 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.3169, allocations: 139.3 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.3171, allocations: 0.6847 MB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.3171, allocations: 4 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.3172, allocations: 7.438 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.3172, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.3325, allocations: 1.524 MB / 1.095 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.78, allocations: 8.391 kB / 1.095 GB, free: 9.43 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches