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.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.000992, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009589/0.0009589, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.103/2.103, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5308, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001527/0.5323, allocations: 0.5741 MB / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.5327, allocations: 203.4 kB / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.177e-05/0.5327, allocations: 0.875 kB / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.5327, allocations: 0 / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-06/0.5328, allocations: 0 / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.5331, allocations: 45.84 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.889e-05/0.5331, allocations: 1.312 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.5331, allocations: 5.234 kB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.224e-05/0.5332, allocations: 9.203 kB / 0.9505 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.585e-05/0.5332, allocations: 0 / 0.9505 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.202e-06/0.5332, allocations: 0 / 0.9505 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.5333, allocations: 62.92 kB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.633e-06/0.5333, allocations: 1.344 kB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.5334, allocations: 0 / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.001e-05/0.5335, allocations: 32.47 kB / 0.9506 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5335, allocations: 3.938 kB / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5335, allocations: 0 / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5335, allocations: 1.344 kB / 0.9506 GB, free: 8.418 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.0001925/0.5337, allocations: 325 kB / 0.9509 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.5337, allocations: 8.75 kB / 0.951 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.148e-05/0.5337, allocations: 35.69 kB / 0.951 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.929e-05/0.5338, allocations: 0.9375 kB / 0.951 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.491e-05/0.5338, allocations: 166 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.5338, allocations: 384 / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-06/0.5338, allocations: 384 / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.5339, allocations: 27.89 kB / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5339, allocations: 5.438 kB / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.5339, allocations: 4 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5339, allocations: 0 / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.534, allocations: 1.469 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.493e-05/0.5341, allocations: 147.2 kB / 0.9513 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.824e-05/0.5341, allocations: 23.78 kB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.5341, allocations: 10.23 kB / 0.9514 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.5347, allocations: 459 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.5347, allocations: 35.95 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.5347, allocations: 0 / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.5348, allocations: 37.61 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.5349, allocations: 52.75 kB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.588e-05/0.5349, allocations: 93.98 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.5349, allocations: 25.7 kB / 0.952 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.566e-06/0.5349, allocations: 80.14 kB / 0.9521 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.5349, allocations: 9.188 kB / 0.9521 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.535, allocations: 15.62 kB / 0.9521 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.535, allocations: 314.8 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.535, allocations: 1.594 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.535, allocations: 1.312 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.5351, allocations: 16.52 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5351, allocations: 0 / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.929e-05/0.5351, allocations: 38.64 kB / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.5351, allocations: 4.531 kB / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5351, allocations: 11.86 kB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.5352, allocations: 0 / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.271e-05/0.5352, allocations: 2.188 kB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.5352, allocations: 0 / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.5352, allocations: 5.109 kB / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.5352, allocations: 4.031 kB / 0.9525 GB, free: 6.266 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.5353, allocations: 107.2 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-06/0.5353, allocations: 1.188 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.5353, allocations: 36.52 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5353, allocations: 1.125 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5353, allocations: 0 / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.5354, allocations: 0 / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.448e-05/0.5354, allocations: 150.8 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5354, allocations: 1.312 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.5354, allocations: 9.344 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.5354, allocations: 0 / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.5354, allocations: 5.281 kB / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.5354, allocations: 0 / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5354, allocations: 0 / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.506e-05/0.5355, allocations: 59.25 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.5355, allocations: 77.11 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.5355, allocations: 5 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.5355, allocations: 5.188 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-06/0.5356, allocations: 0 / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.5356, allocations: 1.438 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.162e-05/0.5356, allocations: 75.28 kB / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5356, allocations: 0 / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001857/0.5358, allocations: 18.67 kB / 0.953 GB, free: 5.652 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 (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.0002732/0.536, allocations: 0.6198 MB / 0.9536 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.014e-05/0.5361, allocations: 3.625 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5361, allocations: 0 / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.613e-06/0.5361, allocations: 2.688 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.5363, allocations: 11.97 kB / 0.9537 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.5365, allocations: 123.3 kB / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.112e-05/0.5366, allocations: 0.6776 MB / 0.9544 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.877e-06/0.5366, allocations: 4 kB / 0.9544 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.5366, allocations: 8.562 kB / 0.9545 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5366, allocations: 0 / 0.9545 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.5513, allocations: 1.124 MB / 0.9556 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.412/6.963, allocations: 9.375 kB / 0.9556 GB, free: 3.5 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches