Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.001366/0.001366, 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.001551/0.001551, allocations: 193.5 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.238/2.238, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5458, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001908/0.5478, allocations: 0.6455 MB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000426/0.5482, allocations: 191.5 kB / 0.9499 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-06/0.5483, allocations: 0 / 0.9499 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.5483, allocations: 1.375 kB / 0.9499 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-06/0.5483, allocations: 0 / 0.9499 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.5486, allocations: 43.02 kB / 0.9499 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.804e-05/0.5486, allocations: 1.375 kB / 0.9499 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.5487, allocations: 1.375 kB / 0.9499 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.121e-05/0.5487, allocations: 0 / 0.9499 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.696e-05/0.5487, allocations: 4 kB / 0.9499 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.5487, allocations: 1.375 kB / 0.9499 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.5489, allocations: 64.75 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.5489, allocations: 3.984 kB / 0.95 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.5489, allocations: 5.312 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.549, allocations: 36.33 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.549, allocations: 0 / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.22e-07/0.549, allocations: 0 / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.549, allocations: 1.375 kB / 0.95 GB, free: 8.383 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.0002127/0.5493, allocations: 317.1 kB / 0.9503 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5493, allocations: 17.5 kB / 0.9503 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.319e-05/0.5493, allocations: 34.73 kB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.5494, allocations: 0.9375 kB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.709e-05/0.5494, allocations: 160.4 kB / 0.9505 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-06/0.5494, allocations: 1.75 kB / 0.9505 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.5494, allocations: 384 / 0.9505 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.965e-05/0.5495, allocations: 33.45 kB / 0.9506 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5495, allocations: 3.938 kB / 0.9506 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.5495, allocations: 4 kB / 0.9506 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5496, allocations: 0 / 0.9506 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.695e-05/0.5496, allocations: 1.031 kB / 0.9506 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.572e-05/0.5497, allocations: 147 kB / 0.9507 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.5497, allocations: 20.98 kB / 0.9507 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.5497, allocations: 9.891 kB / 0.9507 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006132/0.5503, allocations: 451.8 kB / 0.9512 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.5504, allocations: 35.83 kB / 0.9512 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5504, allocations: 0 / 0.9512 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001165/0.5505, allocations: 41.95 kB / 0.9513 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.5505, allocations: 51.41 kB / 0.9513 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.529e-05/0.5505, allocations: 91.2 kB / 0.9514 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.5506, allocations: 29.7 kB / 0.9514 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.207e-06/0.5506, allocations: 88.06 kB / 0.9515 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.5506, allocations: 5.062 kB / 0.9515 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.5506, allocations: 10.84 kB / 0.9515 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.5507, allocations: 312.2 kB / 0.9518 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.5507, allocations: 4.922 kB / 0.9518 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.5507, allocations: 1.156 kB / 0.9518 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.5507, allocations: 15.17 kB / 0.9518 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5507, allocations: 0 / 0.9518 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.222e-05/0.5508, allocations: 35.08 kB / 0.9519 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5508, allocations: 7.031 kB / 0.9519 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5508, allocations: 3.938 kB / 0.9519 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.5508, allocations: 1.125 kB / 0.9519 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.778e-05/0.5509, allocations: 1.188 kB / 0.9519 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5509, allocations: 1.094 kB / 0.9519 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.158e-06/0.5509, allocations: 0 / 0.9519 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.5509, allocations: 5.047 kB / 0.9519 GB, free: 6.25 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.874e-05/0.5509, allocations: 111 kB / 0.952 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-06/0.551, allocations: 0 / 0.952 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.551, allocations: 41.05 kB / 0.952 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.551, allocations: 5.391 kB / 0.952 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.551, allocations: 0 / 0.952 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.551, allocations: 3.938 kB / 0.952 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.541e-05/0.5511, allocations: 147 kB / 0.9522 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5511, allocations: 3.938 kB / 0.9522 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.5511, allocations: 10.62 kB / 0.9522 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5511, allocations: 0 / 0.9522 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.5511, allocations: 3.938 kB / 0.9522 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5511, allocations: 1.562 kB / 0.9522 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5511, allocations: 0 / 0.9522 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.939e-05/0.5512, allocations: 58.75 kB / 0.9523 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.5512, allocations: 77.11 kB / 0.9523 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.5512, allocations: 5.281 kB / 0.9523 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.5512, allocations: 4.031 kB / 0.9523 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.5513, allocations: 0.8125 kB / 0.9523 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.5513, allocations: 1.562 kB / 0.9523 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.216e-05/0.5513, allocations: 75.28 kB / 0.9524 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5513, allocations: 3.938 kB / 0.9524 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001995/0.5515, allocations: 11.06 kB / 0.9524 GB, free: 5.625 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.0002992/0.5518, allocations: 0.6235 MB / 0.953 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.803e-05/0.5519, allocations: 6.281 kB / 0.953 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5519, allocations: 1.375 kB / 0.953 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.5519, allocations: 1.25 kB / 0.953 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.552, allocations: 6.469 kB / 0.9531 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.5522, allocations: 109.7 kB / 0.9532 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.062e-05/0.5523, allocations: 0.6744 MB / 0.9538 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.106e-05/0.5524, allocations: 0 / 0.9538 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.125e-05/0.5524, allocations: 8.469 kB / 0.9538 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5524, allocations: 0 / 0.9538 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009624/0.562, allocations: 1.013 MB / 0.9548 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.5622, allocations: 199.4 kB / 0.955 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.109, allocations: 0 / 0.955 GB, free: 3.367 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches