Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001609/0.001609, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001605/0.001605, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.961/2.961, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_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.002052/0.002052, allocations: 71.89 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9763/0.9783, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001947/0.9803, allocations: 0.5777 MB / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005736/0.9808, allocations: 205.7 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.9809, allocations: 1.125 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.9809, allocations: 0 / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-06/0.9809, allocations: 0 / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.9813, allocations: 56.3 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.9814, allocations: 5.719 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.9814, allocations: 5.781 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.56e-05/0.9814, allocations: 1.219 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.727e-05/0.9815, allocations: 3.938 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.253e-06/0.9815, allocations: 1.031 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.9817, allocations: 65.55 kB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.9817, allocations: 1.531 kB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.9817, allocations: 1.062 kB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.9819, allocations: 37.53 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.9819, allocations: 0.7969 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9819, allocations: 0 / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.9819, allocations: 4 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004336/0.9823, allocations: 324.2 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9824, allocations: 10.69 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.83e-05/0.9824, allocations: 192 / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.9824, allocations: 35.91 kB / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.9824, allocations: 4.875 kB / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.9826, allocations: 161.8 kB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.9826, allocations: 1.469 kB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.9826, allocations: 4.375 kB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.9827, allocations: 36.98 kB / 1.28 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9827, allocations: 0.7031 kB / 1.28 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.9827, allocations: 0 / 1.28 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9827, allocations: 1.094 kB / 1.28 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.9827, allocations: 1.062 kB / 1.28 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.9829, allocations: 144.8 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.983, allocations: 20.67 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.983, allocations: 14.5 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008385/0.9838, allocations: 457.8 kB / 1.281 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.9839, allocations: 36.25 kB / 1.281 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.9839, allocations: 4 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.984, allocations: 36.45 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.9841, allocations: 55.34 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.394e-05/0.9841, allocations: 90.47 kB / 1.281 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.9841, allocations: 26.89 kB / 1.281 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.9841, allocations: 80.14 kB / 1.281 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.9842, allocations: 9.016 kB / 1.281 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.9842, allocations: 11.27 kB / 1.281 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9844, allocations: 316.4 kB / 1.282 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.9844, allocations: 1.719 kB / 1.282 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.9844, allocations: 1.125 kB / 1.282 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.9844, allocations: 12.16 kB / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9844, allocations: 1.344 kB / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.361e-05/0.9845, allocations: 31.38 kB / 1.282 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.9845, allocations: 9.688 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.9845, allocations: 3.938 kB / 1.282 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.9845, allocations: 4.75 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.9846, allocations: 2.156 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9846, allocations: 0.5625 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.9846, allocations: 1.125 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.9846, allocations: 0 / 1.282 GB, free: 9.062 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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.62e-05/0.9847, allocations: 110.9 kB / 1.282 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.9847, allocations: 4.547 kB / 1.282 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.869e-05/0.9848, allocations: 38.7 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.9848, allocations: 5.516 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9848, allocations: 0 / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9848, allocations: 1.094 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.9849, allocations: 144.7 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9849, allocations: 0 / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.9849, allocations: 6.656 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.9849, allocations: 3.938 kB / 1.282 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.9849, allocations: 5.656 kB / 1.282 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9849, allocations: 0 / 1.282 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.9849, allocations: 0 / 1.282 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.59e-05/0.985, allocations: 65.38 kB / 1.282 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.9851, allocations: 79.16 kB / 1.282 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.9851, allocations: 4.734 kB / 1.282 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.9851, allocations: 1.125 kB / 1.282 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.9851, allocations: 0 / 1.282 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.9851, allocations: 1.953 kB / 1.282 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.9852, allocations: 75.28 kB / 1.282 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9852, allocations: 0 / 1.282 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002179/0.9854, allocations: 19.56 kB / 1.282 GB, free: 8.445 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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.0005148/0.9859, allocations: 0.6158 MB / 1.283 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.059e-05/0.986, allocations: 8.031 kB / 1.283 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.986, allocations: 1.094 kB / 1.283 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-06/0.986, allocations: 5 kB / 1.283 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.9861, allocations: 8.875 kB / 1.283 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.9864, allocations: 123.2 kB / 1.283 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.9867, allocations: 0.6746 MB / 1.284 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.074e-05/0.9867, allocations: 1.875 kB / 1.284 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.9868, allocations: 11.56 kB / 1.284 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.9868, allocations: 1.062 kB / 1.284 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/1.004, allocations: 1.196 MB / 1.285 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/9.266, allocations: 21.91 kB / 1.285 GB, free: 6.578 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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.809578287997283]