Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.007828/0.007828, allocations: 102 kB / 15.73 MB, free: 6.039 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.001937/0.001937, allocations: 193 kB / 16.67 MB, free: 5.961 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 68.11 kB / 1.054 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8481/0.8493, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001658/0.851, allocations: 0.5869 MB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004697/0.8515, allocations: 197.2 kB / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.112e-05/0.8516, allocations: 0 / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.8516, allocations: 4 kB / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.8516, allocations: 0 / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.852, allocations: 59.81 kB / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.826e-05/0.852, allocations: 0 / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.8521, allocations: 0 / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/0.8521, allocations: 8 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.8521, allocations: 0 / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.8521, allocations: 0 / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.8523, allocations: 59.88 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.8523, allocations: 3.984 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.8524, allocations: 3.938 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.8525, allocations: 39.95 kB / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8525, allocations: 0 / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8525, allocations: 0 / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.8525, allocations: 0 / 1.208 GB, free: 12.58 MB / 0.9356 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.000315/0.8528, allocations: 323.6 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.8529, allocations: 8.031 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.8529, allocations: 34.69 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.8529, allocations: 4.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/0.853, allocations: 160.4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.853, allocations: 4.375 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.8531, allocations: 4.375 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.8532, allocations: 30.2 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8532, allocations: 3.938 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.8532, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8532, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.8532, allocations: 4 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.8534, allocations: 145.7 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/0.8534, allocations: 26.52 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.8534, allocations: 8.953 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/0.8542, allocations: 457.4 kB / 1.209 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.8542, allocations: 34.56 kB / 1.209 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.8542, allocations: 4 kB / 1.209 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.8543, allocations: 37.58 kB / 1.209 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.8544, allocations: 55.41 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.8544, allocations: 93.84 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.8544, allocations: 25.7 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.8545, allocations: 84.08 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.8545, allocations: 3.906 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.8545, allocations: 9.719 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8547, allocations: 323 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.8547, allocations: 0 / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.8547, allocations: 0 / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.8547, allocations: 8.859 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8547, allocations: 4 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.831e-05/0.8548, allocations: 37.62 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.8548, allocations: 4 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.8548, allocations: 7.938 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8548, allocations: 8.078 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.689e-05/0.8549, allocations: 0 / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.8549, allocations: 0 / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-06/0.8549, allocations: 0 / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.8549, allocations: 0 / 1.21 GB, free: 10.34 MB / 0.9356 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 6.54e-05/0.855, allocations: 113.8 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-06/0.855, allocations: 0 / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.8551, allocations: 40.75 kB / 1.21 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8551, allocations: 4.031 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8551, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8551, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.8552, allocations: 145.7 kB / 1.21 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8552, allocations: 0 / 1.21 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.8552, allocations: 7.922 kB / 1.21 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.8552, allocations: 0 / 1.21 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.8552, allocations: 3.938 kB / 1.21 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.8552, allocations: 3.938 kB / 1.21 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8552, allocations: 4 kB / 1.21 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.865e-05/0.8553, allocations: 57.14 kB / 1.21 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.8554, allocations: 77.11 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.8554, allocations: 7.922 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-06/0.8554, allocations: 0 / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.8554, allocations: 4 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.8554, allocations: 0 / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.8554, allocations: 75.28 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8555, allocations: 3.938 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000205/0.8557, allocations: 24.03 kB / 1.211 GB, free: 9.672 MB / 0.9356 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.0004323/0.8561, allocations: 0.6172 MB / 1.211 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.27e-05/0.8562, allocations: 7.984 kB / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8562, allocations: 0 / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-06/0.8562, allocations: 0 / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.8563, allocations: 5.719 kB / 1.211 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.8566, allocations: 114.5 kB / 1.211 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.8569, allocations: 0.6729 MB / 1.212 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.8569, allocations: 4 kB / 1.212 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.8569, allocations: 11.56 kB / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8569, allocations: 4 kB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.8754, allocations: 1.146 MB / 1.213 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.742, allocations: 5.328 kB / 1.213 GB, free: 7.086 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches