Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001409/0.001409, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001458/0.001458, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.52/2.52, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 63.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7897, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002026/0.7918, allocations: 1.464 MB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000418/0.7922, allocations: 251.2 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.7922, allocations: 0 / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.7922, allocations: 4.594 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.827e-05/0.7923, allocations: 0.8125 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.7926, allocations: 63.28 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.7926, allocations: 28.31 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.7927, allocations: 7.797 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.7927, allocations: 9.078 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.7928, allocations: 9.094 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.7928, allocations: 2.281 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.7929, allocations: 68.36 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.7929, allocations: 4.656 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.7929, allocations: 7.766 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.7931, allocations: 56.27 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.7931, allocations: 0 / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7931, allocations: 0.875 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.7931, allocations: 4 kB / 1.273 GB, free: 6.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000342/0.7934, allocations: 344 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.7934, allocations: 9.281 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.7935, allocations: 36.19 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.7935, allocations: 5.672 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.733e-05/0.7936, allocations: 163.3 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.7936, allocations: 1.812 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.7936, allocations: 6.062 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.7937, allocations: 52.61 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.7937, allocations: 3.938 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.7937, allocations: 1.562 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7938, allocations: 0 / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.7939, allocations: 33.06 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.7941, allocations: 254.7 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.7942, allocations: 44.66 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.7943, allocations: 18.22 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/0.7948, allocations: 466.2 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.7948, allocations: 32.5 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7948, allocations: 0 / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003194/0.7952, allocations: 88.94 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.7952, allocations: 51.41 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.7952, allocations: 97.23 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.7952, allocations: 33.64 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.7953, allocations: 89.8 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.7953, allocations: 7.844 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.7953, allocations: 11.56 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.46e-05/0.7953, allocations: 316.8 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.7954, allocations: 13.61 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.7955, allocations: 21.64 kB / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.7956, allocations: 39.84 kB / 1.275 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7956, allocations: 3.938 kB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001704/0.7958, allocations: 66.05 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.7958, allocations: 5 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7958, allocations: 0.6562 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7958, allocations: 4.781 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.7959, allocations: 8.359 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7959, allocations: 8.375 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.7959, allocations: 3 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.7959, allocations: 1.125 kB / 1.276 GB, free: 4.188 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 (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 3.97e-05/0.796, allocations: 116.3 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.796, allocations: 0.875 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.7962, allocations: 76.47 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.7962, allocations: 0.8438 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7962, allocations: 1.156 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.7962, allocations: 0 / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.834e-05/0.7963, allocations: 159.5 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7963, allocations: 0 / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.7963, allocations: 8.859 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7964, allocations: 1.125 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.7964, allocations: 0 / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7964, allocations: 5.094 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7964, allocations: 4 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.7965, allocations: 166.1 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.7966, allocations: 79.28 kB / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.7966, allocations: 4.5 kB / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.7966, allocations: 11.08 kB / 1.276 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.7967, allocations: 6.672 kB / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.7967, allocations: 0.9688 kB / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.998e-05/0.7967, allocations: 79.81 kB / 1.276 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7967, allocations: 0 / 1.276 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002245/0.7969, allocations: 18.44 kB / 1.276 GB, free: 3.488 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 (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.0003951/0.7973, allocations: 0.7094 MB / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.7975, allocations: 46.2 kB / 1.277 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7975, allocations: 0 / 1.277 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.7976, allocations: 20.59 kB / 1.277 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.7978, allocations: 8.422 kB / 1.277 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.7981, allocations: 138.2 kB / 1.277 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.7983, allocations: 0.6765 MB / 1.278 GB, free: 17.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.7984, allocations: 4.844 kB / 1.278 GB, free: 17.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.7984, allocations: 20.2 kB / 1.278 GB, free: 17.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/0.7984, allocations: 3.938 kB / 1.278 GB, free: 17.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.8215, allocations: 1.496 MB / 1.279 GB, free: 17.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.785, allocations: 2.125 kB / 1.279 GB, free: 17.57 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.030954519999796]