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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001144/0.001144, allocations: 105 kB / 15.98 MB, free: 5.891 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.00119/0.00119, allocations: 187.7 kB / 16.91 MB, free: 5.746 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.2 MB / 0.665 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 71.91 kB / 0.8127 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.804, allocations: 140.3 MB / 0.9498 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002775/0.8069, allocations: 1.494 MB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005109/0.8074, allocations: 251.5 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.8074, allocations: 0 / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.8075, allocations: 0 / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.8075, allocations: 1.375 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.8079, allocations: 58.39 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.808, allocations: 24.52 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.762e-05/0.8081, allocations: 4 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.8081, allocations: 10.3 kB / 0.9516 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.8081, allocations: 7.562 kB / 0.9516 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.8082, allocations: 2.594 kB / 0.9516 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.8083, allocations: 69.73 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.8083, allocations: 14.17 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.8084, allocations: 6 kB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.8085, allocations: 42.06 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8085, allocations: 1.344 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8085, allocations: 0 / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8085, allocations: 0 / 0.9517 GB, free: 7.656 MB / 0.7169 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.0004365/0.8089, allocations: 350.2 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.809, allocations: 8.906 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.809, allocations: 2.5 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.8091, allocations: 169.7 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.8091, allocations: 4.375 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.8091, allocations: 6.031 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.8093, allocations: 57.22 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8093, allocations: 1.531 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.8094, allocations: 3.938 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8094, allocations: 0 / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.8095, allocations: 31.47 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.8098, allocations: 252.3 kB / 0.9525 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.81, allocations: 43.47 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.8101, allocations: 22.09 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.8107, allocations: 459.6 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.8107, allocations: 34.56 kB / 0.9531 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8107, allocations: 0 / 0.9531 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003264/0.811, allocations: 76.36 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.8111, allocations: 60.94 kB / 0.9532 GB, free: 6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.493e-05/0.8111, allocations: 107.1 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.8112, allocations: 25.7 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.8112, allocations: 81.61 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.8112, allocations: 7.906 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.8112, allocations: 12.47 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.8113, allocations: 316.1 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.8114, allocations: 21.61 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.8115, allocations: 12.89 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.8116, allocations: 39.72 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8116, allocations: 0 / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.8118, allocations: 72.83 kB / 0.9539 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.8118, allocations: 10.41 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.8118, allocations: 1.031 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.8118, allocations: 3.938 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.8119, allocations: 10.36 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.8119, allocations: 0 / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.812, allocations: 8.359 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.812, allocations: 0 / 0.9539 GB, free: 5.328 MB / 0.7169 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.043e-05/0.8121, allocations: 112.5 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.8121, allocations: 9.594 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.8123, allocations: 69.28 kB / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8123, allocations: 1.281 kB / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8123, allocations: 0 / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8123, allocations: 0 / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.8125, allocations: 162.6 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8125, allocations: 0 / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.8125, allocations: 18.55 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.8125, allocations: 0 / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.8125, allocations: 0 / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8126, allocations: 1.094 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8126, allocations: 4 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.8128, allocations: 163.3 kB / 0.9544 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.8128, allocations: 82.36 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.8128, allocations: 0 / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.8129, allocations: 8.609 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.8129, allocations: 0.7188 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.8129, allocations: 1.531 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.505e-05/0.813, allocations: 86.3 kB / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.813, allocations: 0 / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002351/0.8132, allocations: 13.88 kB / 0.9546 GB, free: 4.594 MB / 0.7169 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.0001916/0.8134, allocations: 120.1 kB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.8136, allocations: 45.08 kB / 0.9548 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8136, allocations: 0 / 0.9548 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.8137, allocations: 19.23 kB / 0.9548 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.814, allocations: 11.03 kB / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.8142, allocations: 134.3 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.8143, allocations: 0.6835 MB / 0.9556 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.8144, allocations: 8.562 kB / 0.9556 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8144, allocations: 1.344 kB / 0.9556 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of Templates: time 0.002166/0.8165, allocations: 0.7718 MB / 0.9563 GB, free: 3.219 MB / 0.7169 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 -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