Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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.002078/0.002078, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002652/0.002652, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 0.49 GB / 0.7959 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1",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.002153/0.002153, allocations: 66.03 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3912, allocations: 176.1 MB / 1.327 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00292/0.3941, allocations: 1.467 MB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00063/0.3948, allocations: 263.1 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.3948, allocations: 0 / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.3948, allocations: 4 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.3949, allocations: 3.938 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.3954, allocations: 59.81 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.3955, allocations: 23.92 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3956, allocations: 3.938 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.3956, allocations: 8 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.3957, allocations: 15.92 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3957, allocations: 4 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.3959, allocations: 67.86 kB / 1.329 GB, free: 88 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.3959, allocations: 0 / 1.329 GB, free: 88 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.3959, allocations: 15.94 kB / 1.329 GB, free: 72 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3961, allocations: 60.06 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.3961, allocations: 0 / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3961, allocations: 0 / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.3961, allocations: 0 / 1.329 GB, free: 12 kB / 1.014 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.0005842/0.3967, allocations: 270.2 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3967, allocations: 8.031 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.12e-05/0.3968, allocations: 4.188 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.3968, allocations: 34.75 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.3968, allocations: 0.9375 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.397, allocations: 110.5 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.397, allocations: 384 / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.397, allocations: 4.312 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.3972, allocations: 57.97 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3972, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3972, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.3972, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.3974, allocations: 39.95 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.3979, allocations: 220 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.398, allocations: 42.48 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.132e-05/0.3981, allocations: 20.91 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006148/0.3987, allocations: 79.91 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.3988, allocations: 34.56 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3988, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003965/0.3992, allocations: 77.66 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3992, allocations: 59.39 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.3993, allocations: 105.7 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3993, allocations: 25.7 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.3994, allocations: 80.14 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.3994, allocations: 3.953 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.3995, allocations: 21.7 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3996, allocations: 315 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.3997, allocations: 15.98 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.3998, allocations: 15.98 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3999, allocations: 44.75 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3999, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.4001, allocations: 65.67 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4002, allocations: 11.98 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4002, allocations: 3.938 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4002, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.4003, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4003, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.4003, allocations: 7.984 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.4003, allocations: 8.031 kB / 1.33 GB, free: 14.06 MB / 1.029 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 0.0001004/0.4004, allocations: 115 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.4004, allocations: 3.953 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.4007, allocations: 76.95 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4007, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4007, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4007, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4009, allocations: 136.7 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4009, allocations: 0 / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.4009, allocations: 15.92 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4009, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4009, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.4009, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4009, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.4012, allocations: 163.5 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.4012, allocations: 11.94 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.4012, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.4013, allocations: 7.984 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.4014, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.4014, allocations: 3.938 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.4014, allocations: 83.45 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4014, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002543/0.4017, allocations: 16 kB / 1.331 GB, free: 13.36 MB / 1.029 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.000756/0.4024, allocations: 0.7164 MB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.4027, allocations: 39.95 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4027, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.4028, allocations: 19.92 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.403, allocations: 7.984 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.4035, allocations: 163.2 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4038, allocations: 0.6729 MB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.4038, allocations: 3.984 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.4039, allocations: 15.38 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4039, allocations: 0 / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.4259, allocations: 1.641 MB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.01, allocations: 3.844 kB / 1.334 GB, free: 10.13 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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: 18.96267551399069]