Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008369/0.0008369, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008774/0.0008774, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9256/0.9256, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.666/1.666, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9505 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.601e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001239/0.001265, allocations: 0.5917 MB / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003111/0.001576, allocations: 95.55 kB / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.00159, allocations: 0 / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.001606, allocations: 0 / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.001613, allocations: 0 / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.001996, allocations: 39.89 kB / 0.9513 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.338e-05/0.002039, allocations: 0 / 0.9513 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.002082, allocations: 4 kB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.002107, allocations: 3.938 kB / 0.9513 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.699e-05/0.002124, allocations: 0 / 0.9513 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.002136, allocations: 4 kB / 0.9513 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.002268, allocations: 31.95 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.002278, allocations: 0 / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.002294, allocations: 0 / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.002404, allocations: 43.77 kB / 0.9513 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002406, allocations: 0 / 0.9513 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.11e-07/0.002407, allocations: 4 kB / 0.9513 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.002411, allocations: 0 / 0.9513 GB, free: 2.605 MB / 0.9011 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.0002356/0.002647, allocations: 242.4 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.002686, allocations: 8.031 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.002712, allocations: 34.69 kB / 0.9516 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.002759, allocations: 4.891 kB / 0.9516 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.662e-05/0.002816, allocations: 105.8 kB / 0.9517 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.002826, allocations: 4.375 kB / 0.9517 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.002834, allocations: 384 / 0.9517 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/0.002915, allocations: 30.25 kB / 0.9518 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.002922, allocations: 8.188 kB / 0.9518 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.002929, allocations: 384 / 0.9518 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.002934, allocations: 4.125 kB / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.002952, allocations: 0 / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.003055, allocations: 116.8 kB / 0.9519 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.473e-05/0.00309, allocations: 18.52 kB / 0.9519 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.003105, allocations: 8.859 kB / 0.9519 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.00327, allocations: 8.078 kB / 0.9519 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.00329, allocations: 34.56 kB / 0.9519 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.003291, allocations: 0 / 0.9519 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.003424, allocations: 37.69 kB / 0.952 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.003455, allocations: 59.28 kB / 0.952 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.739e-05/0.003482, allocations: 93.86 kB / 0.9521 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.003491, allocations: 25.7 kB / 0.9521 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.00351, allocations: 84.14 kB / 0.9522 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.003533, allocations: 0 / 0.9522 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.003555, allocations: 9.719 kB / 0.9522 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.003631, allocations: 310.8 kB / 0.9525 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.003641, allocations: 7.938 kB / 0.9525 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.003646, allocations: 128 / 0.9525 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.003671, allocations: 16.92 kB / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.003674, allocations: 4 kB / 0.9526 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.681e-05/0.003721, allocations: 33.69 kB / 0.9526 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.003733, allocations: 4 kB / 0.9526 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.003738, allocations: 3.938 kB / 0.9526 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.003748, allocations: 4 kB / 0.9526 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/0.003786, allocations: 0 / 0.9526 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.003793, allocations: 3.938 kB / 0.9526 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.003801, allocations: 0 / 0.9526 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.003807, allocations: 11.95 kB / 0.9526 GB, free: 1.098 MB / 0.9011 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 5.564e-05/0.003863, allocations: 109.8 kB / 0.9527 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-06/0.003872, allocations: 0 / 0.9527 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.003937, allocations: 40.69 kB / 0.9528 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.003938, allocations: 0 / 0.9528 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.003944, allocations: 3.938 kB / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.003947, allocations: 0 / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.994e-05/0.004007, allocations: 116.8 kB / 0.9529 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004008, allocations: 0 / 0.9529 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.004017, allocations: 3.984 kB / 0.9529 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004018, allocations: 4.031 kB / 0.9529 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.004023, allocations: 4 kB / 0.9529 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004024, allocations: 0 / 0.9529 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.004026, allocations: 7.875 kB / 0.9529 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.245e-05/0.004078, allocations: 57.14 kB / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.004084, allocations: 3.984 kB / 0.953 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.004092, allocations: 0 / 0.953 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-06/0.004096, allocations: 0 / 0.953 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.004109, allocations: 3.938 kB / 0.953 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.00411, allocations: 0 / 0.953 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.079e-05/0.004131, allocations: 79.28 kB / 0.953 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.004131, allocations: 4.031 kB / 0.953 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001355/0.004267, allocations: 7.938 kB / 0.953 GB, free: 0.5859 MB / 0.9011 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.0003366/0.004603, allocations: 0.6085 MB / 0.9536 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.987e-05/0.004673, allocations: 7.984 kB / 0.9536 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.004675, allocations: 0 / 0.9536 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-06/0.004679, allocations: 8.094 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.00478, allocations: 6.594 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.005038, allocations: 117.6 kB / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.005073, allocations: 59.34 kB / 0.9538 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.689e-06/0.005083, allocations: 3.938 kB / 0.9538 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.005098, allocations: 8.5 kB / 0.9538 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.005099, allocations: 0 / 0.9538 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.02287, allocations: 1.787 MB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/6.97, allocations: 4 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 Buildings_11_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.062503600493073]