Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_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.006681/0.006681, allocations: 110.3 kB / 15.74 MB, free: 6.453 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.001155/0.001155, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 67.89 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3411, allocations: 151.6 MB / 1.166 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002034/0.3432, allocations: 0.582 MB / 1.167 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.3436, allocations: 95.62 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.3436, allocations: 4 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.3437, allocations: 0 / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-06/0.3437, allocations: 7.938 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.3441, allocations: 32.25 kB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.3441, allocations: 3.938 kB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.3442, allocations: 4 kB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.3442, allocations: 4 kB / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.857e-05/0.3442, allocations: 0 / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.3443, allocations: 0 / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.3444, allocations: 39.89 kB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.3445, allocations: 0 / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.3445, allocations: 4 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.3446, allocations: 31.95 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3446, allocations: 0 / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3446, allocations: 0 / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3446, allocations: 0 / 1.167 GB, free: 6.406 MB / 0.92 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.0003103/0.3449, allocations: 315.6 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.345, allocations: 12.03 kB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.345, allocations: 30.75 kB / 1.167 GB, free: 5.996 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.3451, allocations: 0.9375 kB / 1.167 GB, free: 5.996 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.3452, allocations: 168.4 kB / 1.167 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.3452, allocations: 384 / 1.167 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3452, allocations: 8.375 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.3453, allocations: 38.14 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3454, allocations: 3.938 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.3454, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3454, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.3454, allocations: 4 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.3455, allocations: 141.7 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.3456, allocations: 22.58 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.3456, allocations: 12.94 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.3458, allocations: 81.11 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3459, allocations: 38.48 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.3459, allocations: 0 / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.346, allocations: 33.64 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3461, allocations: 55.53 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.354e-05/0.3461, allocations: 93.86 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3462, allocations: 25.7 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.3462, allocations: 80.14 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3462, allocations: 4 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.3463, allocations: 13.66 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.3464, allocations: 314.8 kB / 1.168 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-06/0.3464, allocations: 0 / 1.168 GB, free: 4.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-06/0.3464, allocations: 8 kB / 1.168 GB, free: 4.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.3464, allocations: 8.797 kB / 1.168 GB, free: 4.676 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3464, allocations: 0 / 1.168 GB, free: 4.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.929e-05/0.3465, allocations: 41.61 kB / 1.168 GB, free: 4.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3465, allocations: 4 kB / 1.168 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3465, allocations: 3.938 kB / 1.168 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3465, allocations: 0 / 1.168 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.3466, allocations: 4 kB / 1.168 GB, free: 4.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3466, allocations: 0 / 1.168 GB, free: 4.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.395e-05/0.3466, allocations: 8.078 kB / 1.168 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.3466, allocations: 0 / 1.168 GB, free: 4.609 MB / 0.92 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.208e-05/0.3467, allocations: 105.8 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.3467, allocations: 4 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.543e-05/0.3468, allocations: 44.7 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3468, allocations: 0 / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3468, allocations: 4 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3468, allocations: 7.922 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.827e-05/0.3469, allocations: 141.7 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3469, allocations: 4.031 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.347, allocations: 4 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.347, allocations: 0 / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.347, allocations: 3.938 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.347, allocations: 0 / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.347, allocations: 0 / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.431e-05/0.3471, allocations: 65.06 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.3471, allocations: 81.12 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3471, allocations: 7.938 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.3471, allocations: 0 / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.3472, allocations: 0 / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.3472, allocations: 0 / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.3472, allocations: 79.28 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3472, allocations: 0 / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002111/0.3474, allocations: 7.984 kB / 1.169 GB, free: 3.957 MB / 0.92 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.0004311/0.3479, allocations: 0.6152 MB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.278e-05/0.3479, allocations: 3.938 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3479, allocations: 4 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.3479, allocations: 4.094 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.3481, allocations: 3.938 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.3484, allocations: 114.6 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3487, allocations: 0.6729 MB / 1.17 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.299e-05/0.3487, allocations: 0 / 1.17 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.3487, allocations: 7.438 kB / 1.17 GB, free: 2.438 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3487, allocations: 0 / 1.17 GB, free: 2.438 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.3655, allocations: 1.152 MB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.272, allocations: 2.688 kB / 1.172 GB, free: 1.402 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches