Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_10_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.004769/0.004769, allocations: 97.55 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.00118/0.00118, allocations: 199.1 kB / 16.68 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437.1 MB / 0.7106 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 63.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3064, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002626/0.3091, allocations: 1.416 MB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005371/0.3096, allocations: 248.1 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3097, allocations: 0 / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.3097, allocations: 3.938 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.3098, allocations: 7.938 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3102, allocations: 59.86 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.3102, allocations: 19.94 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.3103, allocations: 7.984 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.3104, allocations: 11.94 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.3104, allocations: 11.98 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.3105, allocations: 0 / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.3106, allocations: 59.89 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3106, allocations: 15.91 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.3107, allocations: 4 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.3108, allocations: 52.09 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3108, allocations: 0 / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3108, allocations: 0 / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.3108, allocations: 0 / 1.168 GB, free: 5.328 MB / 0.92 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.0005121/0.3114, allocations: 349.8 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3114, allocations: 8.031 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.3114, allocations: 34.75 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.3115, allocations: 0.9375 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3116, allocations: 180.2 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3116, allocations: 384 / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3117, allocations: 8.375 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3118, allocations: 50.23 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3119, allocations: 3.938 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.3119, allocations: 7.938 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3119, allocations: 0 / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3121, allocations: 31.97 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3124, allocations: 252.9 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3125, allocations: 42.5 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.3126, allocations: 16.91 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007044/0.3133, allocations: 461.4 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3134, allocations: 30.56 kB / 1.169 GB, free: 3.617 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3134, allocations: 4 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003607/0.3138, allocations: 85.58 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3138, allocations: 51.41 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.3139, allocations: 97.84 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.3139, allocations: 25.7 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.314, allocations: 84.14 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.314, allocations: 12.08 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.3141, allocations: 9.719 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3142, allocations: 318.8 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.3143, allocations: 15.97 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.3144, allocations: 15.98 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3146, allocations: 40.89 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3146, allocations: 3.938 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.3148, allocations: 73.55 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3148, allocations: 5.875 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3148, allocations: 0 / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3148, allocations: 0 / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.3149, allocations: 11.98 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3149, allocations: 4.031 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.315, allocations: 7.984 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.315, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 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 9.099e-05/0.3151, allocations: 113.8 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.3151, allocations: 4 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.3153, allocations: 68.72 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3153, allocations: 4.031 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3153, allocations: 0 / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3153, allocations: 0 / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3155, allocations: 165.6 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3155, allocations: 4.125 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.3156, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3156, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3156, allocations: 3.984 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3156, allocations: 3.984 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3156, allocations: 11.98 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3159, allocations: 159.5 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.316, allocations: 89.05 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.316, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.316, allocations: 4 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.3161, allocations: 3.984 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3161, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.3162, allocations: 95.19 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3162, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002304/0.3164, allocations: 19.94 kB / 1.171 GB, free: 1.867 MB / 0.92 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.0007215/0.3171, allocations: 0.7124 MB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.3174, allocations: 31.97 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3174, allocations: 0 / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3175, allocations: 31.97 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3177, allocations: 4 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.3182, allocations: 135.1 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.3185, allocations: 0.6768 MB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.3185, allocations: 0 / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.3186, allocations: 11.44 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3186, allocations: 0 / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3411, allocations: 1.512 MB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.55, allocations: 14.38 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches