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.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.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.001361/0.001361, allocations: 108 kB / 15.61 MB, free: 152 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.001555/0.001556, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.24/1.24, 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.161/2.161, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5268, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001793/0.5287, allocations: 0.5781 MB / 0.9503 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004099/0.5291, allocations: 177.7 kB / 0.9505 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.306e-05/0.5291, allocations: 1.156 kB / 0.9505 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.5291, allocations: 0 / 0.9505 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.5292, allocations: 0 / 0.9505 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.5296, allocations: 62.56 kB / 0.9505 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.088e-05/0.5296, allocations: 4 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.5297, allocations: 1.875 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.583e-05/0.5297, allocations: 0 / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.913e-05/0.5297, allocations: 0 / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.5297, allocations: 1.312 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.5299, allocations: 52.59 kB / 0.9506 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.5299, allocations: 5.266 kB / 0.9506 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.5299, allocations: 4 kB / 0.9506 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.53, allocations: 44.08 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5301, allocations: 0 / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5301, allocations: 5.375 kB / 0.9506 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5301, allocations: 0 / 0.9506 GB, free: 8.555 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.0002181/0.5303, allocations: 313 kB / 0.9509 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5303, allocations: 9.844 kB / 0.9509 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.508e-05/0.5304, allocations: 34.75 kB / 0.951 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.5304, allocations: 0.9375 kB / 0.951 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.446e-05/0.5304, allocations: 165.9 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5305, allocations: 384 / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.5305, allocations: 384 / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.749e-05/0.5306, allocations: 32.89 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.5306, allocations: 3.938 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.5306, allocations: 0 / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5306, allocations: 0 / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.5306, allocations: 5.375 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.197e-05/0.5307, allocations: 151 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.992e-05/0.5307, allocations: 17.58 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.5308, allocations: 4.859 kB / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/0.5313, allocations: 453.3 kB / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.5314, allocations: 34.56 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5314, allocations: 0 / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.5315, allocations: 42.62 kB / 0.9518 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.5315, allocations: 55.53 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.582e-05/0.5315, allocations: 89.86 kB / 0.952 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.5315, allocations: 27.08 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.546e-06/0.5315, allocations: 80.14 kB / 0.9521 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.5316, allocations: 5.562 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.5316, allocations: 15.16 kB / 0.9521 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.5316, allocations: 314.8 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.5316, allocations: 5.188 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.5317, allocations: 5.375 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.5317, allocations: 11.47 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5317, allocations: 3.938 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.233e-05/0.5317, allocations: 30.2 kB / 0.9525 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5317, allocations: 9.938 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5318, allocations: 3.938 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.5318, allocations: 0 / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.481e-05/0.5318, allocations: 1.656 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.5318, allocations: 1.312 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-06/0.5318, allocations: 4 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.5318, allocations: 1.406 kB / 0.9525 GB, free: 6.43 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.686e-05/0.5319, allocations: 119 kB / 0.9526 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.5319, allocations: 0 / 0.9526 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.532, allocations: 40.45 kB / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.532, allocations: 1.438 kB / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.532, allocations: 0 / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.532, allocations: 0 / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.43e-05/0.532, allocations: 154.9 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.532, allocations: 1.125 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.532, allocations: 1.312 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5321, allocations: 0 / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.5321, allocations: 5.312 kB / 0.9528 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5321, allocations: 0 / 0.9528 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5321, allocations: 0 / 0.9528 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.269e-05/0.5321, allocations: 58.75 kB / 0.9528 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.5321, allocations: 82.48 kB / 0.9529 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.5321, allocations: 3.938 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.5322, allocations: 5.438 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-06/0.5322, allocations: 0 / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.5322, allocations: 1.281 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.967e-06/0.5322, allocations: 75.28 kB / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5322, allocations: 0 / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002162/0.5324, allocations: 18.38 kB / 0.953 GB, free: 5.801 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.0002629/0.5327, allocations: 0.6199 MB / 0.9536 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.026e-05/0.5328, allocations: 8.344 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5328, allocations: 4.094 kB / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/0.5328, allocations: 1.094 kB / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.5329, allocations: 7.719 kB / 0.9536 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.5332, allocations: 118.6 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.898e-05/0.5333, allocations: 0.6739 MB / 0.9544 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.114e-05/0.5333, allocations: 5.062 kB / 0.9544 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.5333, allocations: 7.438 kB / 0.9544 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5333, allocations: 1.219 kB / 0.9544 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.5493, allocations: 1.11 MB / 0.9555 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.404/6.953, allocations: 13.08 kB / 0.9555 GB, free: 3.656 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