Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 99.78 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.001394/0.001394, 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.479/1.479, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.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.495/2.495, allocations: 390.2 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003943, allocations: 12 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9893/0.9897, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007761/0.9905, allocations: 313.6 kB / 0.9538 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004244/0.991, allocations: 180.1 kB / 0.954 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.236e-05/0.991, allocations: 0 / 0.954 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.991, allocations: 5.156 kB / 0.954 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.991, allocations: 0 / 0.954 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.9914, allocations: 41.8 kB / 0.954 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.487e-05/0.9914, allocations: 1.125 kB / 0.954 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.9915, allocations: 1.031 kB / 0.954 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.9915, allocations: 0 / 0.954 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.913e-05/0.9916, allocations: 4.938 kB / 0.954 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.9916, allocations: 0 / 0.954 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.9918, allocations: 65.27 kB / 0.9541 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.9918, allocations: 3.938 kB / 0.9541 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.9918, allocations: 25.7 kB / 0.9541 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.259e-05/0.9919, allocations: 20.47 kB / 0.9542 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.9919, allocations: 5.188 kB / 0.9542 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9919, allocations: 0 / 0.9542 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.9919, allocations: 0 / 0.9542 GB, free: 7.578 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002246/0.9922, allocations: 320.4 kB / 0.9545 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.9922, allocations: 9.688 kB / 0.9545 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.9922, allocations: 3.953 kB / 0.9545 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.201e-05/0.9923, allocations: 159.1 kB / 0.9546 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.9923, allocations: 0 / 0.9546 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.9923, allocations: 1.281 kB / 0.9546 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/0.9924, allocations: 38.72 kB / 0.9547 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9925, allocations: 1.062 kB / 0.9547 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.9925, allocations: 3.938 kB / 0.9547 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.9925, allocations: 0 / 0.9547 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.9925, allocations: 5.703 kB / 0.9547 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.9926, allocations: 147.3 kB / 0.9548 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.856e-05/0.9926, allocations: 16.02 kB / 0.9548 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.9933, allocations: 463.4 kB / 0.9553 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.9934, allocations: 35.84 kB / 0.9553 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.9934, allocations: 0 / 0.9553 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.9935, allocations: 34.38 kB / 0.9553 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.9935, allocations: 56.75 kB / 0.9554 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.146e-05/0.9936, allocations: 89.86 kB / 0.9555 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.9936, allocations: 25.7 kB / 0.9555 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.728e-05/0.9936, allocations: 80.14 kB / 0.9556 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.9936, allocations: 4.969 kB / 0.9556 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.9936, allocations: 0 / 0.9556 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.9937, allocations: 316.3 kB / 0.9559 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-06/0.9937, allocations: 4 kB / 0.9559 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.9937, allocations: 9.438 kB / 0.9559 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.601e-05/0.9937, allocations: 1.094 kB / 0.9559 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9937, allocations: 0 / 0.9559 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.32e-05/0.9938, allocations: 35.47 kB / 0.9559 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.9938, allocations: 6.031 kB / 0.9559 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.9938, allocations: 0 / 0.9559 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.9938, allocations: 0 / 0.9559 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.9939, allocations: 5.609 kB / 0.9559 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.9939, allocations: 0 / 0.9559 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.9939, allocations: 1.625 kB / 0.9559 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.9939, allocations: 4.094 kB / 0.956 GB, free: 5.527 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 (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 4.752e-05/0.994, allocations: 115.2 kB / 0.9561 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-06/0.994, allocations: 0 / 0.9561 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/0.9941, allocations: 45.62 kB / 0.9561 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.9941, allocations: 0 / 0.9561 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.9941, allocations: 0 / 0.9561 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9941, allocations: 1.469 kB / 0.9561 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.824e-05/0.9941, allocations: 145.6 kB / 0.9562 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.9942, allocations: 5.25 kB / 0.9562 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.9942, allocations: 13.39 kB / 0.9563 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.9942, allocations: 0 / 0.9563 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.9942, allocations: 1.375 kB / 0.9563 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.9942, allocations: 0 / 0.9563 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9942, allocations: 0 / 0.9563 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.317e-05/0.9943, allocations: 62.66 kB / 0.9563 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.9943, allocations: 78.11 kB / 0.9564 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.9943, allocations: 9.891 kB / 0.9564 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.9943, allocations: 0 / 0.9564 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.9943, allocations: 0 / 0.9564 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.9943, allocations: 1.656 kB / 0.9564 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.448e-05/0.9944, allocations: 75.28 kB / 0.9565 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9944, allocations: 0 / 0.9565 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001953/0.9946, allocations: 14.84 kB / 0.9565 GB, free: 4.898 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 (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.0001993/0.9948, allocations: 121.6 kB / 0.9566 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.9948, allocations: 2.594 kB / 0.9566 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9948, allocations: 1.5 kB / 0.9566 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.9949, allocations: 5.281 kB / 0.9566 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.938e-05/0.9949, allocations: 6.234 kB / 0.9566 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001647/0.9951, allocations: 75.14 kB / 0.9567 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.9952, allocations: 0.6797 MB / 0.9574 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.094e-05/0.9953, allocations: 0 / 0.9574 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-06/0.9953, allocations: 8.969 kB / 0.9574 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9953, allocations: 0 / 0.9574 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.002501/0.9978, allocations: 401.9 kB / 0.9578 GB, free: 3.785 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches