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.0008155/0.0008155, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000833/0.000833, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8772/0.8772, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.41e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001627/0.001641, allocations: 1.444 MB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000363/0.002004, allocations: 231.2 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.002035, allocations: 0 / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.002061, allocations: 3.938 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.002097, allocations: 3.938 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.002398, allocations: 63.75 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.002451, allocations: 19.92 kB / 0.9522 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.759e-05/0.002529, allocations: 8 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.002572, allocations: 11.98 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.029e-05/0.002603, allocations: 15.97 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.002612, allocations: 0 / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.002716, allocations: 55.89 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.002728, allocations: 7.938 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.002744, allocations: 7.984 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.002865, allocations: 63.78 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002867, allocations: 0 / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002868, allocations: 0 / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.002872, allocations: 0 / 0.9524 GB, free: 1.539 MB / 0.9011 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.0003185/0.00319, allocations: 270.3 kB / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.003225, allocations: 12.03 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.003249, allocations: 34.69 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.88e-05/0.003268, allocations: 4.891 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.176e-05/0.00334, allocations: 113.8 kB / 0.9528 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.003349, allocations: 384 / 0.9528 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.003357, allocations: 4.375 kB / 0.9528 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.003471, allocations: 42.25 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.003478, allocations: 4.188 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.003487, allocations: 8.297 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.003493, allocations: 12.11 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.003579, allocations: 27.97 kB / 0.9529 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.00385, allocations: 216.1 kB / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.451e-05/0.003934, allocations: 34.56 kB / 0.9531 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.003978, allocations: 16.91 kB / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.004318, allocations: 79.91 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.004341, allocations: 42.44 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.004342, allocations: 0 / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.004571, allocations: 81.64 kB / 0.9533 GB, free: 424 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.004599, allocations: 51.41 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.004656, allocations: 102 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.004666, allocations: 25.7 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.004704, allocations: 96.02 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.00472, allocations: 0.6094 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.004746, allocations: 13.72 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.004841, allocations: 314.8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.561e-05/0.004887, allocations: 11.98 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.004925, allocations: 23.91 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.005003, allocations: 40.89 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005005, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.005107, allocations: 77.48 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005119, allocations: 4 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005123, allocations: 0 / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.005135, allocations: 0 / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.00519, allocations: 16.02 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005194, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.005216, allocations: 4 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.005222, allocations: 4 kB / 0.9541 GB, free: 15.59 MB / 0.9167 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 5.334e-05/0.005275, allocations: 113.8 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.005288, allocations: 3.938 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.005419, allocations: 76.95 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.005421, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.005424, allocations: 4.031 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.005427, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.005528, allocations: 124.7 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005529, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.005554, allocations: 12 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.005556, allocations: 3.938 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.005563, allocations: 3.984 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005564, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005565, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.005689, allocations: 163.5 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.005697, allocations: 11.89 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.005706, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.005741, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.005774, allocations: 7.984 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.005779, allocations: 4 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.005809, allocations: 79.28 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005809, allocations: 0 / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000165/0.005974, allocations: 19.94 kB / 0.9547 GB, free: 14.89 MB / 0.9167 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.0003743/0.006348, allocations: 0.7163 MB / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.006472, allocations: 39.95 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.006474, allocations: 4.094 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.006513, allocations: 15.98 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.006682, allocations: 4 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.007006, allocations: 142.3 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.007046, allocations: 59.34 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.007064, allocations: 4.234 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.007093, allocations: 16.5 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of SimCode: time 7.01e-07/0.007093, allocations: 4.062 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.02069, allocations: 2.183 MB / 0.9578 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.869, allocations: 4.062 kB / 0.9578 GB, free: 11.75 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.671874761581421]