Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.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.002215/0.002215, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002701/0.002701, allocations: 189.7 kB / 22.23 MB, free: 5.16 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.472/1.472, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8244/0.8264, allocations: 160.8 MB / 1.218 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002892/0.8293, allocations: 1.452 MB / 1.22 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006085/0.8299, allocations: 248.1 kB / 1.22 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.83, allocations: 4 kB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.83, allocations: 0 / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.894e-05/0.8301, allocations: 3.938 kB / 1.22 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.8304, allocations: 59.81 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.8305, allocations: 23.92 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.8306, allocations: 8 kB / 1.22 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.8307, allocations: 4 kB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.8307, allocations: 19.86 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.8307, allocations: 3.984 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.8309, allocations: 55.95 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.8309, allocations: 7.984 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.8309, allocations: 7.938 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.8311, allocations: 54.53 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.8311, allocations: 0 / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8311, allocations: 7.875 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8311, allocations: 4 kB / 1.22 GB, free: 2.41 MB / 0.92 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.0005535/0.8316, allocations: 349.6 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8317, allocations: 12.03 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.8317, allocations: 0.9375 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.8319, allocations: 168.3 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.8319, allocations: 384 / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.8319, allocations: 4.375 kB / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.8321, allocations: 50.23 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8321, allocations: 4.188 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.8321, allocations: 3.938 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.8321, allocations: 0 / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.8323, allocations: 35.91 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.8327, allocations: 249 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.8328, allocations: 38.5 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.8329, allocations: 20.91 kB / 1.221 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007206/0.8336, allocations: 453.5 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.8336, allocations: 38.56 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.796e-06/0.8336, allocations: 7.922 kB / 1.222 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003529/0.834, allocations: 77.64 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.834, allocations: 51.41 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.8341, allocations: 101.8 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.8341, allocations: 25.7 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.8342, allocations: 88.27 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.8342, allocations: 11.89 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.8343, allocations: 9.719 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8344, allocations: 310.8 kB / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.8345, allocations: 23.97 kB / 1.222 GB, free: 16 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.8346, allocations: 11.98 kB / 1.222 GB, free: 4 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.8347, allocations: 48.83 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8347, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001829/0.8349, allocations: 69.55 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8349, allocations: 8 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.835, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.835, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.8351, allocations: 19.95 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8351, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.8351, allocations: 7.984 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.8351, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9356 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 9.191e-05/0.8352, allocations: 113.7 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.8352, allocations: 4 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.8354, allocations: 76.91 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.8354, allocations: 3.938 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.8355, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8355, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.8357, allocations: 161.6 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8357, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.8357, allocations: 12 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8357, allocations: 0 / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.8357, allocations: 0 / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.8357, allocations: 3.984 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8357, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.836, allocations: 167.4 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.836, allocations: 89.05 kB / 1.223 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.8361, allocations: 0 / 1.223 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.8361, allocations: 4 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.8362, allocations: 3.984 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.8362, allocations: 4.031 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.8362, allocations: 83.28 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8362, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002382/0.8365, allocations: 12 kB / 1.223 GB, free: 15.02 MB / 0.9356 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.0002395/0.8367, allocations: 123.1 kB / 1.223 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.8369, allocations: 39.95 kB / 1.223 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8369, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.837, allocations: 23.92 kB / 1.223 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.8373, allocations: 7.938 kB / 1.223 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.8376, allocations: 93.55 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.838, allocations: 0.6847 MB / 1.224 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.838, allocations: 0 / 1.224 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.838, allocations: 7.438 kB / 1.224 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.838, allocations: 3.938 kB / 1.224 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.004053/0.8421, allocations: 0.6696 MB / 1.225 GB, free: 13.31 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.51329318434]