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.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: "" <> 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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001313/0.001313, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.212/2.212, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5487, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001968/0.5507, allocations: 1.49 MB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004045/0.5512, allocations: 256.7 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.5512, allocations: 0 / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.5512, allocations: 0 / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.092e-05/0.5513, allocations: 1.375 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.5515, allocations: 48.39 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.863e-05/0.5515, allocations: 24.11 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.381e-05/0.5516, allocations: 8.125 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.746e-05/0.5516, allocations: 6.734 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.529e-05/0.5517, allocations: 10.69 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.5517, allocations: 5.375 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.5518, allocations: 67.5 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/0.5518, allocations: 7.969 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.5518, allocations: 10.69 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.552, allocations: 48.38 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.552, allocations: 0 / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.01e-07/0.552, allocations: 0 / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.552, allocations: 0 / 0.951 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.0003033/0.5523, allocations: 358.1 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.5523, allocations: 9.625 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.18e-05/0.5523, allocations: 34.73 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.889e-05/0.5524, allocations: 2.312 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.42e-05/0.5524, allocations: 175 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.5524, allocations: 384 / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.5525, allocations: 1.75 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.5526, allocations: 49.23 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.5526, allocations: 3.938 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.5526, allocations: 1.375 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5526, allocations: 7.984 kB / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.5528, allocations: 38.48 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.553, allocations: 246.5 kB / 0.9519 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5531, allocations: 38.69 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.5532, allocations: 27.55 kB / 0.9519 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000499/0.5537, allocations: 458.3 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.5537, allocations: 35.78 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5537, allocations: 4 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002836/0.554, allocations: 76.47 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.554, allocations: 56.83 kB / 0.9525 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.815e-05/0.5541, allocations: 101.6 kB / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.5541, allocations: 27.05 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/0.5541, allocations: 80.27 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.5541, allocations: 9.094 kB / 0.9527 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.5541, allocations: 20.23 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.5542, allocations: 312.5 kB / 0.9531 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.5543, allocations: 13.17 kB / 0.9531 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.5543, allocations: 16.45 kB / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.5545, allocations: 47.41 kB / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5545, allocations: 5.375 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001604/0.5546, allocations: 59.86 kB / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5547, allocations: 9.391 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.5547, allocations: 0 / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.5547, allocations: 0 / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.5547, allocations: 6.438 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.5548, allocations: 4.031 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.5548, allocations: 11.7 kB / 0.9532 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.5548, allocations: 1.062 kB / 0.9532 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.695e-05/0.5549, allocations: 116.2 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.5549, allocations: 4.781 kB / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.5551, allocations: 78.02 kB / 0.9534 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5551, allocations: 5.188 kB / 0.9534 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5551, allocations: 0 / 0.9534 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.5551, allocations: 0 / 0.9534 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.533e-05/0.5552, allocations: 158.8 kB / 0.9536 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5552, allocations: 0 / 0.9536 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.5553, allocations: 14.3 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.5553, allocations: 0 / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.5553, allocations: 1.562 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5553, allocations: 0 / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5553, allocations: 0 / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.5555, allocations: 166.6 kB / 0.9537 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.5555, allocations: 78.36 kB / 0.9538 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.5555, allocations: 4.969 kB / 0.9538 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.5556, allocations: 7.922 kB / 0.9538 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.5556, allocations: 1.219 kB / 0.9538 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.5556, allocations: 0 / 0.9538 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.899e-05/0.5556, allocations: 87.95 kB / 0.9539 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5556, allocations: 0 / 0.9539 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002217/0.5559, allocations: 13.53 kB / 0.9539 GB, free: 4.5 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.000384/0.5563, allocations: 0.7243 MB / 0.9546 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.5564, allocations: 32.72 kB / 0.9547 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.5565, allocations: 1.125 kB / 0.9547 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.5565, allocations: 23.36 kB / 0.9547 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.5567, allocations: 2.25 kB / 0.9547 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.557, allocations: 148.4 kB / 0.9548 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/0.5571, allocations: 0.6738 MB / 0.9555 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.5572, allocations: 4.312 kB / 0.9555 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.5572, allocations: 8.781 kB / 0.9555 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.5572, allocations: 64 / 0.9555 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5182/1.075, allocations: 1.324 MB / 0.9568 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.076, allocations: 186.6 kB / 0.957 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.877, allocations: 1.312 kB / 0.957 GB, free: 1.945 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