Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 102.1 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.009/2.009, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 72.23 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2177, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00216/0.2199, allocations: 1.435 MB / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000434/0.2203, allocations: 254.2 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.2203, allocations: 0 / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.2204, allocations: 7.938 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.2204, allocations: 0 / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.2207, allocations: 59.81 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.2208, allocations: 27.92 kB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.2209, allocations: 4 kB / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.2209, allocations: 15.92 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.144e-05/0.2209, allocations: 4 kB / 0.9529 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.221, allocations: 4 kB / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.2211, allocations: 71.8 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.2211, allocations: 4 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.2211, allocations: 7.922 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.2212, allocations: 51.92 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2212, allocations: 4 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2213, allocations: 0 / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2213, allocations: 4 kB / 0.953 GB, free: 6.113 MB / 0.7325 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.0003666/0.2216, allocations: 343.4 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.2217, allocations: 8.031 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.2217, allocations: 0.9375 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.2218, allocations: 172.3 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2218, allocations: 4.312 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.2218, allocations: 384 / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.222, allocations: 58.17 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.222, allocations: 192 / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.222, allocations: 3.938 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.222, allocations: 0 / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.2222, allocations: 31.97 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.2224, allocations: 245 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.2225, allocations: 46.44 kB / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.2226, allocations: 24.91 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.2232, allocations: 461.5 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2232, allocations: 34.56 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2233, allocations: 0 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002918/0.2235, allocations: 77.64 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.2236, allocations: 51.41 kB / 0.9545 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.2236, allocations: 101.8 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.2237, allocations: 33.7 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.2237, allocations: 92.14 kB / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.2237, allocations: 3.906 kB / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.2238, allocations: 13.72 kB / 0.9547 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.2238, allocations: 314.8 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.2239, allocations: 15.98 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.224, allocations: 11.98 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.2241, allocations: 44.89 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2241, allocations: 0 / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001582/0.2243, allocations: 69.59 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.2243, allocations: 4 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2243, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.2243, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.2244, allocations: 19.95 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2244, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.2245, allocations: 11.89 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.2245, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 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 6.086e-05/0.2245, allocations: 117.8 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.2246, allocations: 0 / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.2247, allocations: 72.78 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2248, allocations: 4.125 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2248, allocations: 4 kB / 0.9554 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2248, allocations: 3.984 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2249, allocations: 165.6 kB / 0.9556 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2249, allocations: 0 / 0.9556 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.225, allocations: 7.984 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.225, allocations: 4 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.225, allocations: 3.938 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.225, allocations: 0 / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.225, allocations: 4.031 kB / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.2252, allocations: 163.5 kB / 0.9557 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.2252, allocations: 81.05 kB / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2253, allocations: 0 / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.2253, allocations: 7.984 kB / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.2254, allocations: 4.031 kB / 0.9558 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.2254, allocations: 4 kB / 0.9558 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.885e-05/0.2254, allocations: 79.28 kB / 0.9559 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2254, allocations: 4 kB / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002181/0.2256, allocations: 12 kB / 0.9559 GB, free: 2.715 MB / 0.7325 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.0001663/0.2258, allocations: 123.2 kB / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.226, allocations: 39.89 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.226, allocations: 4 kB / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.2261, allocations: 19.92 kB / 0.9561 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.2263, allocations: 9.969 kB / 0.9561 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.2265, allocations: 105.6 kB / 0.9562 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.2267, allocations: 0.6805 MB / 0.9569 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.2267, allocations: 4 kB / 0.9569 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.2268, allocations: 7.438 kB / 0.9569 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.2268, allocations: 0 / 0.9569 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of Templates: time 0.00236/0.2291, allocations: 0.6488 MB / 0.9575 GB, free: 1.02 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches