Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_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.00121/0.00121, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001272/0.001272, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.925/2.925, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003986, allocations: 8 kB / 0.8708 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9063/0.9068, allocations: 153.7 MB / 1.021 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001576/0.9084, allocations: 1.149 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004606/0.9089, allocations: 244.2 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.9089, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.031e-05/0.9089, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.072e-05/0.909, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.9092, allocations: 47.88 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.852e-05/0.9093, allocations: 8 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.585e-05/0.9093, allocations: 19.95 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.9094, allocations: 3.938 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.9094, allocations: 11.92 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.9094, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.9096, allocations: 63.89 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.9096, allocations: 7.984 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.9096, allocations: 25.7 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.9097, allocations: 35.94 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.9097, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9097, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.9097, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 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.0003907/0.9101, allocations: 345.3 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.9102, allocations: 11.98 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.9102, allocations: 4 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.9103, allocations: 163.1 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.9103, allocations: 4 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.9103, allocations: 11.94 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.9105, allocations: 57.62 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-06/0.9105, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.9105, allocations: 4 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.9105, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.9107, allocations: 43.97 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.911, allocations: 252.9 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.9111, allocations: 46.5 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/0.9118, allocations: 461.4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.9118, allocations: 34.56 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.9118, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.9122, allocations: 101.6 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.9122, allocations: 55.53 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.9123, allocations: 109.8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.9123, allocations: 25.7 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.9124, allocations: 80.14 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.9124, allocations: 11.91 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.9124, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9125, allocations: 314.8 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.9126, allocations: 19.98 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.9127, allocations: 27.97 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.9128, allocations: 15.98 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.9128, allocations: 4.062 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.913, allocations: 85.61 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.913, allocations: 4 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.913, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.913, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.9131, allocations: 12.03 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.9131, allocations: 3.984 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.9132, allocations: 8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.9132, allocations: 3.938 kB / 1.025 GB, free: 12.99 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/0.9132, allocations: 109.8 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.9133, allocations: 3.953 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.9135, allocations: 88.77 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9135, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.9135, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.9135, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.9137, allocations: 157.7 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9137, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.9138, allocations: 16.02 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.9138, allocations: 3.953 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.9138, allocations: 4 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9138, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9138, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.914, allocations: 179.5 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.9141, allocations: 81.09 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.9141, allocations: 7.953 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.9142, allocations: 7.984 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.9142, allocations: 0 / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.9142, allocations: 8 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.9143, allocations: 87.3 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9143, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002257/0.9145, allocations: 20 kB / 1.025 GB, free: 12.13 MB / 0.7794 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 (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.0002198/0.9147, allocations: 119.1 kB / 1.025 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.915, allocations: 51.91 kB / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.915, allocations: 0 / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.9151, allocations: 23.98 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.9152, allocations: 12.05 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.9154, allocations: 100.7 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.9157, allocations: 0.6809 MB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.9157, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.9158, allocations: 11.44 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.9158, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.002797/0.9186, allocations: 0.5805 MB / 1.027 GB, free: 10.5 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches