Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.17/3.17, allocations: 497.2 MB / 0.7811 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 72.19 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3876, allocations: 173.9 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002642/0.3903, allocations: 1.44 MB / 1.305 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005311/0.3908, allocations: 259.5 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.3908, allocations: 0 / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.3908, allocations: 7.938 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.543e-05/0.3909, allocations: 3.984 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.3912, allocations: 63.81 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.3913, allocations: 15.94 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.3914, allocations: 11.98 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.3914, allocations: 3.938 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.3914, allocations: 11.98 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3915, allocations: 4 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.3916, allocations: 67.86 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.3916, allocations: 3.938 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.3916, allocations: 12 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.3918, allocations: 60.06 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3918, allocations: 0 / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3918, allocations: 0 / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.3918, allocations: 0 / 1.306 GB, free: 15.53 MB / 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.0004702/0.3922, allocations: 347.3 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3923, allocations: 8.625 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.3923, allocations: 34.69 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.3923, allocations: 4.938 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3925, allocations: 164.4 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3925, allocations: 384 / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3925, allocations: 8.359 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3926, allocations: 42.25 kB / 1.306 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3926, allocations: 7.938 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.3927, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3927, allocations: 3.938 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3928, allocations: 35.89 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.3931, allocations: 256.8 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3933, allocations: 42.52 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.222e-05/0.3933, allocations: 24.91 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/0.3941, allocations: 461.5 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3941, allocations: 30.56 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3941, allocations: 0 / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.3944, allocations: 85.67 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3945, allocations: 55.41 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.3946, allocations: 101.8 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3946, allocations: 25.7 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.3946, allocations: 84.14 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.3946, allocations: 3.953 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.3947, allocations: 13.72 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3948, allocations: 314.8 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.3949, allocations: 20 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.395, allocations: 15.98 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3951, allocations: 36.83 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3951, allocations: 3.938 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.3953, allocations: 73.66 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3953, allocations: 4 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3953, allocations: 4 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3953, allocations: 4 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.3954, allocations: 7.984 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.3954, allocations: 0 / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.3954, allocations: 4 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3955, allocations: 3.984 kB / 1.308 GB, free: 12.92 MB / 1.014 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 8.135e-05/0.3955, allocations: 121.8 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3956, allocations: 0 / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.3958, allocations: 80.67 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3958, allocations: 0 / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3958, allocations: 0 / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.3958, allocations: 0 / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.396, allocations: 161.6 kB / 1.308 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.396, allocations: 0 / 1.308 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.396, allocations: 15.97 kB / 1.308 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.396, allocations: 0 / 1.308 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.396, allocations: 0 / 1.308 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.396, allocations: 0 / 1.308 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.396, allocations: 3.984 kB / 1.308 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3963, allocations: 163.5 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.3963, allocations: 81.09 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.3963, allocations: 7.875 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.3964, allocations: 4 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.3964, allocations: 7.984 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.3964, allocations: 0 / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.3965, allocations: 83.28 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3965, allocations: 0 / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002315/0.3967, allocations: 15.94 kB / 1.309 GB, free: 12.08 MB / 1.014 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.0006627/0.3974, allocations: 0.7161 MB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3976, allocations: 43.91 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3976, allocations: 0 / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.3976, allocations: 19.97 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.3979, allocations: 9.656 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.3983, allocations: 139.1 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3986, allocations: 0.6807 MB / 1.31 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.3986, allocations: 4 kB / 1.31 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.3986, allocations: 11.44 kB / 1.31 GB, free: 10.37 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3986, allocations: 0 / 1.31 GB, free: 10.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.4232, allocations: 1.515 MB / 1.312 GB, free: 8.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.596, allocations: 4 kB / 1.312 GB, free: 8.926 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.26336449291557]