Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.00161/0.00161, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001799/0.001799, allocations: 186.1 kB / 16.25 MB, free: 6.141 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.134/2.134, allocations: 390.3 MB / 0.6644 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5454, allocations: 140.3 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002033/0.5475, allocations: 1.494 MB / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003859/0.5479, allocations: 253 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.5479, allocations: 0 / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.548, allocations: 4 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.548, allocations: 3.938 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.5483, allocations: 55.67 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.338e-05/0.5484, allocations: 16.42 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.5484, allocations: 7.906 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.5485, allocations: 15.02 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.5485, allocations: 10.94 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.5485, allocations: 1.656 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.5486, allocations: 70.98 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-06/0.5487, allocations: 11.98 kB / 0.9511 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.5487, allocations: 6.344 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.5488, allocations: 52.8 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5488, allocations: 0 / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5488, allocations: 1.219 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5488, allocations: 0 / 0.9512 GB, free: 7.609 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.0003105/0.5491, allocations: 353.8 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.5492, allocations: 10.78 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.917e-05/0.5492, allocations: 30.75 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.5492, allocations: 6.25 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.778e-05/0.5493, allocations: 165.6 kB / 0.9517 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.5493, allocations: 5.625 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.5493, allocations: 5.625 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.5494, allocations: 53.06 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5495, allocations: 7.875 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.5495, allocations: 1.344 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.5495, allocations: 0 / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.5496, allocations: 39.45 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.5498, allocations: 247.8 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.5499, allocations: 43.03 kB / 0.9521 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.55, allocations: 22.67 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.5505, allocations: 463.7 kB / 0.9526 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.5506, allocations: 30.56 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5506, allocations: 0 / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002864/0.5509, allocations: 84.55 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.5509, allocations: 52.66 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.679e-05/0.5509, allocations: 98.61 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.5509, allocations: 29.7 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.847e-05/0.551, allocations: 81.89 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.551, allocations: 9.359 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.551, allocations: 11.28 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.551, allocations: 320.2 kB / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.5511, allocations: 13.33 kB / 0.9533 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.5512, allocations: 17.58 kB / 0.9533 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5513, allocations: 39.59 kB / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5513, allocations: 8 kB / 0.9533 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001535/0.5515, allocations: 63.91 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.5515, allocations: 5.5 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5515, allocations: 3.938 kB / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.5515, allocations: 1 kB / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.5516, allocations: 5.562 kB / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5516, allocations: 5.172 kB / 0.9534 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.5517, allocations: 7.406 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.5517, allocations: 5.062 kB / 0.9534 GB, free: 5.238 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.688e-05/0.5517, allocations: 114.8 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.5517, allocations: 5 kB / 0.9535 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.5519, allocations: 70.39 kB / 0.9536 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5519, allocations: 5.312 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5519, allocations: 0 / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5519, allocations: 32 / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.455e-05/0.552, allocations: 163.1 kB / 0.9538 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.552, allocations: 0 / 0.9538 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.5521, allocations: 14.08 kB / 0.9538 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.5521, allocations: 0 / 0.9538 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.5521, allocations: 1.031 kB / 0.9538 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5521, allocations: 0 / 0.9538 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5521, allocations: 3.938 kB / 0.9538 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.5523, allocations: 167.6 kB / 0.9539 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.5523, allocations: 78.58 kB / 0.954 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.5523, allocations: 0 / 0.954 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.5524, allocations: 8.359 kB / 0.954 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.5524, allocations: 5.625 kB / 0.954 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.5524, allocations: 0 / 0.954 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.889e-05/0.5525, allocations: 87.09 kB / 0.9541 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5525, allocations: 0 / 0.9541 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002155/0.5527, allocations: 17.59 kB / 0.9541 GB, free: 4.496 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.0003738/0.5531, allocations: 0.7251 MB / 0.9548 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.5533, allocations: 33.81 kB / 0.9549 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5533, allocations: 0 / 0.9549 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.5533, allocations: 23.61 kB / 0.9549 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.5535, allocations: 5.547 kB / 0.9549 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.5539, allocations: 142.7 kB / 0.955 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.231e-05/0.5539, allocations: 0.6803 MB / 0.9557 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.554, allocations: 1.5 kB / 0.9557 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.554, allocations: 8.938 kB / 0.9557 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.554, allocations: 0 / 0.9557 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.62/3.174, allocations: 1.345 MB / 0.957 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/3.174, allocations: 195 kB / 0.9572 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/4.761, allocations: 2.875 kB / 0.9572 GB, free: 1.941 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches