Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.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.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0",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.001651/0.001651, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001849/0.001849, allocations: 194.4 kB / 16.26 MB, free: 6.625 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.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.101/2.101, allocations: 390.2 MB / 0.6644 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5327, allocations: 140.4 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00205/0.5348, allocations: 1.488 MB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003897/0.5352, allocations: 243.2 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.5353, allocations: 1.5 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.5353, allocations: 3.984 kB / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.5353, allocations: 3.938 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.5356, allocations: 42.25 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.5357, allocations: 25.39 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.5358, allocations: 10.73 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.5358, allocations: 10.69 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.5358, allocations: 10.73 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.5358, allocations: 2.75 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.536, allocations: 70.06 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.536, allocations: 0 / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.536, allocations: 10.69 kB / 0.9511 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.5361, allocations: 56.34 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5361, allocations: 4 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5361, allocations: 0 / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.5361, allocations: 0 / 0.9511 GB, free: 7.594 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.0003083/0.5365, allocations: 346.2 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5365, allocations: 9.625 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.232e-05/0.5365, allocations: 34.75 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.951e-05/0.5365, allocations: 2.312 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.5366, allocations: 167 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.5366, allocations: 384 / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.5366, allocations: 1.75 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5368, allocations: 66.56 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5368, allocations: 7.875 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.5368, allocations: 1.375 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5368, allocations: 0 / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.537, allocations: 35.2 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.5372, allocations: 249.1 kB / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.5373, allocations: 50.91 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.5374, allocations: 22.47 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004694/0.5378, allocations: 451.5 kB / 0.9525 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.109e-05/0.5379, allocations: 39.59 kB / 0.9526 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5379, allocations: 0 / 0.9526 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002906/0.5382, allocations: 80.11 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/0.5382, allocations: 52.47 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.162e-05/0.5382, allocations: 98.39 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.5382, allocations: 31.45 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.5383, allocations: 84.12 kB / 0.9529 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.5383, allocations: 9.438 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.5383, allocations: 15.55 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.5384, allocations: 311.9 kB / 0.9532 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.5385, allocations: 17.95 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.5385, allocations: 16.52 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.5386, allocations: 43.5 kB / 0.9533 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5387, allocations: 5.75 kB / 0.9533 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001507/0.5388, allocations: 63.05 kB / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5388, allocations: 9.422 kB / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.5388, allocations: 0 / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.5388, allocations: 5.531 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.5389, allocations: 4.938 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.5389, allocations: 1.125 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.539, allocations: 7.109 kB / 0.9534 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.539, allocations: 1.219 kB / 0.9534 GB, free: 5.227 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 3.902e-05/0.539, allocations: 115.1 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.5391, allocations: 5.438 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.5392, allocations: 79.14 kB / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5392, allocations: 0 / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5393, allocations: 0 / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5393, allocations: 5.562 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.568e-05/0.5394, allocations: 157.8 kB / 0.9537 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5394, allocations: 0 / 0.9537 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.5394, allocations: 9.203 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.5394, allocations: 1.375 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.5394, allocations: 0 / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5394, allocations: 7.969 kB / 0.9537 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5395, allocations: 1.094 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.5396, allocations: 167.6 kB / 0.9539 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.5396, allocations: 77.11 kB / 0.954 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.5397, allocations: 1.344 kB / 0.954 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.5397, allocations: 11.33 kB / 0.954 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.5398, allocations: 5.156 kB / 0.954 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.5398, allocations: 1.375 kB / 0.954 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.824e-05/0.5398, allocations: 82.64 kB / 0.9541 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5398, allocations: 0 / 0.9541 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002185/0.54, allocations: 17.16 kB / 0.9541 GB, free: 4.48 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.0003727/0.5404, allocations: 0.7209 MB / 0.9548 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.5406, allocations: 37.83 kB / 0.9548 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5406, allocations: 4.094 kB / 0.9548 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.5407, allocations: 15.8 kB / 0.9549 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.5409, allocations: 6.375 kB / 0.9549 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.5412, allocations: 138.2 kB / 0.955 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.065e-05/0.5413, allocations: 0.6805 MB / 0.9557 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.5413, allocations: 9.328 kB / 0.9557 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.5414, allocations: 8.531 kB / 0.9557 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5414, allocations: 0 / 0.9557 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.68/3.222, allocations: 1.348 MB / 0.957 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/3.222, allocations: 192.1 kB / 0.9572 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/4.808, allocations: 0 / 0.9572 GB, free: 1.926 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches