Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",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.007192/0.007192, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001261/0.001261, allocations: 202.7 kB / 16.68 MB, free: 5.934 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.627/2.627, allocations: 482.6 MB / 0.755 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002996/0.002996, allocations: 65.06 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3763, allocations: 162.3 MB / 1.242 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002762/0.3791, allocations: 1.427 MB / 1.243 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004424/0.3796, allocations: 159.5 kB / 1.243 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.3796, allocations: 4 kB / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.3797, allocations: 0 / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.3797, allocations: 7.922 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.3801, allocations: 39.91 kB / 1.243 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.959e-05/0.3801, allocations: 19.92 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.3802, allocations: 8 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.3803, allocations: 3.984 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.3803, allocations: 15.92 kB / 1.244 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3803, allocations: 4 kB / 1.244 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3805, allocations: 43.89 kB / 1.244 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.3805, allocations: 4 kB / 1.244 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.3805, allocations: 7.938 kB / 1.244 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.3807, allocations: 56.08 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3807, allocations: 3.938 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3807, allocations: 0 / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.3807, allocations: 0 / 1.244 GB, free: 7.074 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.0004967/0.3812, allocations: 343.4 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3813, allocations: 8.031 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.3813, allocations: 34.75 kB / 1.244 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.3814, allocations: 12.86 kB / 1.244 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3815, allocations: 164.3 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3815, allocations: 384 / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3816, allocations: 4.375 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.3818, allocations: 46.23 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.3818, allocations: 7.938 kB / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.3818, allocations: 0 / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3818, allocations: 0 / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.382, allocations: 35.95 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.3823, allocations: 244.9 kB / 1.244 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3825, allocations: 46.48 kB / 1.245 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.3826, allocations: 24.91 kB / 1.245 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.3828, allocations: 85.09 kB / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3828, allocations: 30.56 kB / 1.245 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 3.246e-06/0.3828, allocations: 0 / 1.245 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003866/0.3832, allocations: 89.52 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3833, allocations: 51.53 kB / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.3833, allocations: 101.9 kB / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3834, allocations: 25.7 kB / 1.245 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.3834, allocations: 92.06 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3835, allocations: 3.953 kB / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3835, allocations: 17.72 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3837, allocations: 310.8 kB / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.3837, allocations: 11.98 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.783e-05/0.3838, allocations: 23.97 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.384, allocations: 36.83 kB / 1.245 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.384, allocations: 3.938 kB / 1.245 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000227/0.3842, allocations: 73.55 kB / 1.245 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3843, allocations: 9.969 kB / 1.245 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3843, allocations: 0 / 1.245 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3843, allocations: 0 / 1.245 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.3844, allocations: 11.98 kB / 1.245 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3844, allocations: 3.984 kB / 1.245 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.3845, allocations: 4 kB / 1.245 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3845, allocations: 4 kB / 1.245 GB, free: 4.898 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 8.907e-05/0.3846, allocations: 117.8 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.3846, allocations: 3.938 kB / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3849, allocations: 76.72 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.3849, allocations: 4 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3849, allocations: 4 kB / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3849, allocations: 0 / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.3851, allocations: 157.6 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3851, allocations: 0 / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.3851, allocations: 7.984 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.3852, allocations: 8.031 kB / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3852, allocations: 0 / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3852, allocations: 0 / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3852, allocations: 192 / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3855, allocations: 159.5 kB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.3855, allocations: 85.05 kB / 1.246 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3855, allocations: 12.02 kB / 1.246 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.3856, allocations: 7.938 kB / 1.246 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3857, allocations: 3.984 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3857, allocations: 7.938 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.3857, allocations: 79.28 kB / 1.246 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3857, allocations: 0 / 1.246 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002367/0.386, allocations: 11.94 kB / 1.246 GB, free: 4.07 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.0007034/0.3867, allocations: 0.709 MB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.3869, allocations: 40 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.387, allocations: 4 kB / 1.247 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.3871, allocations: 19.91 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3874, allocations: 4 kB / 1.247 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.3879, allocations: 135 kB / 1.247 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3882, allocations: 0.6768 MB / 1.248 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.3882, allocations: 8.125 kB / 1.248 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.3883, allocations: 7.438 kB / 1.248 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3883, allocations: 0 / 1.248 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/0.4977, allocations: 1.507 MB / 1.249 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.83, allocations: 13.53 kB / 1.249 GB, free: 0.9531 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches