Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_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.004844/0.004844, allocations: 100.7 kB / 15.73 MB, free: 6.051 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.001236/0.001236, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.655/2.655, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7767, allocations: 159.1 MB / 1.22 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002317/0.7791, allocations: 1.438 MB / 1.222 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004706/0.7796, allocations: 247.3 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.7796, allocations: 4 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.7797, allocations: 3.938 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.608e-05/0.7797, allocations: 4 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.78, allocations: 64.94 kB / 1.222 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.7801, allocations: 27.86 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.504e-05/0.7802, allocations: 4 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.7802, allocations: 7.984 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.7802, allocations: 7.938 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.7803, allocations: 4 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.7804, allocations: 67.86 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.7804, allocations: 4 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.7804, allocations: 11.92 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.7806, allocations: 50.59 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.7806, allocations: 4 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7806, allocations: 0 / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7806, allocations: 3.938 kB / 1.222 GB, free: 152 kB / 0.9356 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.0004259/0.781, allocations: 344.4 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.7811, allocations: 8.031 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.7811, allocations: 34.75 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.7812, allocations: 8.891 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.7813, allocations: 168.4 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.7813, allocations: 384 / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.7813, allocations: 8.312 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.7815, allocations: 46.23 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.7815, allocations: 3.938 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.7815, allocations: 4 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.7815, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.7817, allocations: 35.89 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.782, allocations: 256.9 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.7821, allocations: 42.44 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.7822, allocations: 20.91 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/0.7828, allocations: 461.5 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.7829, allocations: 30.56 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7829, allocations: 0 / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003217/0.7832, allocations: 85.73 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.7832, allocations: 55.34 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.7833, allocations: 101.8 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.7833, allocations: 25.7 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.7834, allocations: 88.09 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.7834, allocations: 3.953 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.7834, allocations: 13.72 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7835, allocations: 318.8 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.7836, allocations: 16.02 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.7837, allocations: 19.98 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.7839, allocations: 36.81 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7839, allocations: 3.938 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.7841, allocations: 65.73 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.7841, allocations: 7.938 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.7841, allocations: 4 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.7841, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.7842, allocations: 11.92 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.7842, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.7842, allocations: 7.984 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.7843, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 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 7.189e-05/0.7843, allocations: 124.4 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.7844, allocations: 0 / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.7846, allocations: 68.78 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7846, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.7846, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.7846, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.7847, allocations: 161.6 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7848, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.7848, allocations: 19.95 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.7848, allocations: 4 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.7848, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7848, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.7848, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.7851, allocations: 171.4 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.7851, allocations: 77.11 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.7851, allocations: 3.938 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.7852, allocations: 7.984 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.7853, allocations: 8 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.7853, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.7853, allocations: 79.28 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7853, allocations: 0 / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000219/0.7855, allocations: 15.94 kB / 1.225 GB, free: 12.71 MB / 0.9512 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.0005654/0.7861, allocations: 0.7129 MB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.7863, allocations: 43.98 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.7863, allocations: 0 / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.7864, allocations: 23.92 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.7866, allocations: 2.031 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.787, allocations: 143.1 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.7872, allocations: 0.6807 MB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.7873, allocations: 0 / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.7873, allocations: 19.38 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.7873, allocations: 0 / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5386/1.326, allocations: 1.513 MB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.6, allocations: 12.53 kB / 1.228 GB, free: 9.535 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches