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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002681/0.002681, allocations: 216 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.913/2.913, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.69 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3863, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002676/0.3889, allocations: 1.445 MB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005916/0.3895, allocations: 235.3 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.3896, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.3896, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.45e-05/0.3896, allocations: 3.938 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.39, allocations: 51.83 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.3901, allocations: 23.98 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.3901, allocations: 3.984 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.3902, allocations: 15.94 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.3902, allocations: 15.92 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-06/0.3902, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.3904, allocations: 59.89 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.3904, allocations: 3.984 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3904, allocations: 8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.3905, allocations: 51.8 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3905, allocations: 0 / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3905, allocations: 0 / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3905, allocations: 0 / 1.286 GB, free: 8.758 MB / 0.9825 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.0004621/0.391, allocations: 279.6 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3911, allocations: 8.031 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.649e-05/0.3911, allocations: 192 / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.3911, allocations: 38.73 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.3911, allocations: 4.938 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3912, allocations: 106.5 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3913, allocations: 8.312 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.3913, allocations: 384 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3914, allocations: 53.98 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3914, allocations: 3.938 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3914, allocations: 4 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3915, allocations: 0 / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3916, allocations: 35.91 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.3919, allocations: 220 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3921, allocations: 34.56 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.3922, allocations: 24.89 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/0.3927, allocations: 75.92 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3927, allocations: 42.5 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3927, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003702/0.3931, allocations: 77.77 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.3931, allocations: 55.41 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.3932, allocations: 101.8 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3932, allocations: 29.7 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.3932, allocations: 84.12 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.3933, allocations: 7.953 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.3933, allocations: 13.72 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3934, allocations: 310.8 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.3935, allocations: 19.97 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.3936, allocations: 19.98 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3937, allocations: 40.7 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3937, allocations: 4 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.3939, allocations: 65.66 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3939, allocations: 8 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3939, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.394, allocations: 4.094 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3941, allocations: 7.984 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3941, allocations: 0 / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.3941, allocations: 4 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.3941, allocations: 4 kB / 1.288 GB, free: 6.801 MB / 0.9825 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.033e-05/0.3942, allocations: 113.8 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.3942, allocations: 3.953 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.3945, allocations: 80.91 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3945, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3945, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3945, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3947, allocations: 132.6 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3947, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.3947, allocations: 11.98 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3947, allocations: 3.938 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3947, allocations: 192 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3947, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3947, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.395, allocations: 183.4 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.395, allocations: 3.938 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.395, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.3951, allocations: 7.984 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3951, allocations: 0 / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3951, allocations: 8 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.3952, allocations: 75.28 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3952, allocations: 4 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002593/0.3954, allocations: 24.02 kB / 1.288 GB, free: 6.09 MB / 0.9825 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.0007352/0.3962, allocations: 0.7084 MB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.3964, allocations: 39.98 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3964, allocations: 0 / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.3965, allocations: 15.98 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3968, allocations: 6.188 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.3973, allocations: 148.8 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.625e-05/0.3974, allocations: 59.34 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.3974, allocations: 4 kB / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.3975, allocations: 11.56 kB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3975, allocations: 0 / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.4276, allocations: 1.703 MB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 9.328 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.003250641049817]