Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.549/1.549, allocations: 249.5 MB / 257 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 176.9 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009013/0.0009014, allocations: 92.16 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.257e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7117/0.9244, allocations: 131.3 MB / 1.013 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.9247, allocations: 74.02 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003657/0.9283, allocations: 1.233 MB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9284, allocations: 4.75 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.9284, allocations: 0 / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003554/0.9288, allocations: 326.5 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.9288, allocations: 11.97 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.9289, allocations: 3.938 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.929, allocations: 166.9 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.929, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.9291, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.245e-05/0.9291, allocations: 7.938 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.9292, allocations: 29.7 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.9292, allocations: 3.984 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.9293, allocations: 0 / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9293, allocations: 0 / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.9295, allocations: 130.2 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.568e-05/0.9295, allocations: 18.52 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.9295, allocations: 4.859 kB / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.9302, allocations: 445.1 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.9302, allocations: 30.56 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.9302, allocations: 4 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.9304, allocations: 25.7 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.9305, allocations: 59.34 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.805e-05/0.9305, allocations: 93.02 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.9305, allocations: 25.7 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.9306, allocations: 80.14 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.9306, allocations: 0 / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.9306, allocations: 0 / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.9308, allocations: 310.8 kB / 1.016 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.9308, allocations: 0 / 1.016 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.9308, allocations: 4 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/0.9308, allocations: 8 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9308, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.676e-05/0.9309, allocations: 33.66 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9309, allocations: 8 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.931, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.931, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.459e-05/0.931, allocations: 3.984 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.931, allocations: 0 / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.9311, allocations: 0 / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.9311, allocations: 4 kB / 1.017 GB, free: 3.277 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/0.9311, allocations: 111.5 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.9312, allocations: 3.953 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.9313, allocations: 45.09 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.9313, allocations: 3.984 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9313, allocations: 7.859 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.9313, allocations: 0 / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.384e-05/0.9314, allocations: 126.2 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.9314, allocations: 0 / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.9314, allocations: 0 / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9314, allocations: 4.031 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.9314, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9314, allocations: 7.891 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9314, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.094e-05/0.9315, allocations: 61.06 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.9316, allocations: 77.11 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.9316, allocations: 0 / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.9316, allocations: 4.031 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.9316, allocations: 3.953 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.9316, allocations: 4 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.9317, allocations: 75.28 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9317, allocations: 3.938 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002607/0.932, allocations: 23.92 kB / 1.017 GB, free: 2.648 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002782/0.9322, allocations: 131.2 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.729e-05/0.9323, allocations: 4 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9323, allocations: 0 / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.042e-06/0.9323, allocations: 4 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.639e-05/0.9324, allocations: 0 / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001547/0.9326, allocations: 43.89 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.9329, allocations: 0.6807 MB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.9329, allocations: 4 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.9329, allocations: 7.438 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/0.9329, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of Templates: time 0.00212/0.9351, allocations: 365.6 kB / 1.018 GB, free: 1.375 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches