Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_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.00468/0.00468, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.00117/0.00117, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.917/2.917, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 60.09 kB / 1.054 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.328, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002825/0.3309, allocations: 1.42 MB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005412/0.3314, allocations: 251.2 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.3315, allocations: 0 / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.3316, allocations: 0 / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.3316, allocations: 7.938 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.332, allocations: 63.8 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.3321, allocations: 19.88 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3322, allocations: 15.98 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.3322, allocations: 4 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.3323, allocations: 23.84 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.3323, allocations: 0 / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.3325, allocations: 59.89 kB / 1.209 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.3325, allocations: 3.984 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.3325, allocations: 15.94 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3327, allocations: 51.86 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3327, allocations: 0 / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3327, allocations: 0 / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3327, allocations: 0 / 1.209 GB, free: 8.246 MB / 0.9669 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.0004821/0.3332, allocations: 351.7 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3333, allocations: 12.62 kB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.3333, allocations: 34.75 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.3333, allocations: 0.9375 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3335, allocations: 164.4 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3335, allocations: 8.359 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3335, allocations: 384 / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3337, allocations: 54.17 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3337, allocations: 3.938 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3337, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3337, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.3339, allocations: 39.95 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.3343, allocations: 244.9 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3344, allocations: 42.48 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.3345, allocations: 28.84 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007345/0.3352, allocations: 461.5 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3353, allocations: 34.56 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3353, allocations: 0 / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003486/0.3356, allocations: 81.73 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3357, allocations: 51.41 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.3358, allocations: 97.86 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3358, allocations: 25.7 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.3358, allocations: 80.14 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3359, allocations: 15.89 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.3359, allocations: 9.719 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.336, allocations: 318.8 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.3361, allocations: 19.98 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.3362, allocations: 15.97 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3363, allocations: 40.83 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3364, allocations: 3.938 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.3365, allocations: 69.72 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3366, allocations: 7.938 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3366, allocations: 0 / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3366, allocations: 3.938 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.3367, allocations: 11.98 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3367, allocations: 3.938 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.3367, allocations: 4 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3368, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 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 6.786e-05/0.3368, allocations: 113.8 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3369, allocations: 4 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.3371, allocations: 76.67 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3371, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3371, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3371, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3373, allocations: 169.5 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3373, allocations: 4.031 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.3373, allocations: 7.984 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3374, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3374, allocations: 4 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3374, allocations: 0 / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3374, allocations: 7.938 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3376, allocations: 163.5 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.3376, allocations: 81.11 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3377, allocations: 0 / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.3377, allocations: 8.172 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.3378, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3378, allocations: 3.984 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.3378, allocations: 87.27 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3378, allocations: 0 / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002401/0.3381, allocations: 20 kB / 1.212 GB, free: 4.793 MB / 0.9669 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.0005914/0.3387, allocations: 0.7197 MB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3389, allocations: 31.97 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3389, allocations: 0 / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.339, allocations: 19.98 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3392, allocations: 9.703 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.3397, allocations: 151 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.34, allocations: 0.6768 MB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.34, allocations: 0 / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.34, allocations: 15.44 kB / 1.214 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.34, allocations: 0 / 1.214 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.3577, allocations: 1.52 MB / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.929, allocations: 5.266 kB / 1.215 GB, free: 1.625 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches