Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001453/0.001453, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001603/0.001603, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.08/2.08, allocations: 429.5 MB / 0.6743 GB, free: 3.949 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.07e-05, allocations: 3.688 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001282/0.001303, allocations: 0.6122 MB / 0.88 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002533/0.001556, allocations: 85.33 kB / 0.8801 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.00157, allocations: 0.5 kB / 0.8801 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.001585, allocations: 1.688 kB / 0.8801 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.001591, allocations: 0 / 0.8801 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.001909, allocations: 36.48 kB / 0.8802 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.407e-05/0.001943, allocations: 1.094 kB / 0.8802 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.001979, allocations: 4 kB / 0.8802 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 1.885e-05/0.001998, allocations: 0.5 kB / 0.8802 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.299e-05/0.002011, allocations: 1.344 kB / 0.8802 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.002021, allocations: 0 / 0.8802 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.002126, allocations: 33.05 kB / 0.8802 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.002134, allocations: 0 / 0.8802 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.037e-05/0.002144, allocations: 5.594 kB / 0.8802 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.201e-05/0.002226, allocations: 32.16 kB / 0.8802 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002228, allocations: 3.938 kB / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002228, allocations: 4 kB / 0.8802 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002232, allocations: 1.75 kB / 0.8802 GB, free: 5.23 MB / 0.8386 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.0002054/0.002438, allocations: 344.4 kB / 0.8806 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.002466, allocations: 8.031 kB / 0.8806 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.002514, allocations: 0.9375 kB / 0.8806 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.299e-05/0.002567, allocations: 108.6 kB / 0.8807 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002577, allocations: 3.188 kB / 0.8807 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-06/0.002581, allocations: 384 / 0.8807 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.247e-05/0.002634, allocations: 26.27 kB / 0.8807 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.002641, allocations: 8.172 kB / 0.8807 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-06/0.002646, allocations: 384 / 0.8807 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.002651, allocations: 384 / 0.8807 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.006e-05/0.002661, allocations: 7.875 kB / 0.8807 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.097e-05/0.002732, allocations: 97.27 kB / 0.8808 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.048e-05/0.002762, allocations: 31.03 kB / 0.8809 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-06/0.002772, allocations: 7.688 kB / 0.8809 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.002882, allocations: 8.094 kB / 0.8809 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.0029, allocations: 41.38 kB / 0.8809 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.002901, allocations: 0 / 0.8809 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.919e-05/0.003, allocations: 33.98 kB / 0.8809 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.003029, allocations: 51.41 kB / 0.881 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.303e-05/0.003062, allocations: 142.2 kB / 0.8811 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.003069, allocations: 29.83 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.003096, allocations: 126.9 kB / 0.8813 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.003119, allocations: 3.953 kB / 0.8813 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.00314, allocations: 23.38 kB / 0.8813 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.003241, allocations: 496.1 kB / 0.8818 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.003247, allocations: 0 / 0.8818 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.003253, allocations: 7.984 kB / 0.8818 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.28e-05/0.003276, allocations: 7.688 kB / 0.8818 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.003278, allocations: 3.938 kB / 0.8818 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.999e-05/0.003328, allocations: 33.8 kB / 0.8818 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.003338, allocations: 8 kB / 0.8818 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.003342, allocations: 3.938 kB / 0.8818 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.00335, allocations: 0 / 0.8818 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.771e-05/0.003378, allocations: 4 kB / 0.8818 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.00338, allocations: 0 / 0.8818 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-06/0.003387, allocations: 0 / 0.8818 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.003391, allocations: 0 / 0.8818 GB, free: 3.406 MB / 0.8386 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.574e-05/0.003447, allocations: 160.5 kB / 0.882 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.003459, allocations: 4 kB / 0.882 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.003509, allocations: 44.64 kB / 0.882 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.003511, allocations: 0 / 0.882 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.003512, allocations: 0 / 0.882 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.003515, allocations: 0 / 0.882 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.188e-05/0.003567, allocations: 97.19 kB / 0.8821 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.003568, allocations: 0 / 0.8821 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.003577, allocations: 8 kB / 0.8821 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.003578, allocations: 0 / 0.8821 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-06/0.003581, allocations: 0 / 0.8821 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.003581, allocations: 0 / 0.8821 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.003582, allocations: 0 / 0.8821 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.43e-05/0.003636, allocations: 73.17 kB / 0.8822 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-06/0.00364, allocations: 3.984 kB / 0.8822 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-06/0.003646, allocations: 0 / 0.8822 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-06/0.003649, allocations: 7.938 kB / 0.8822 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-06/0.003657, allocations: 0 / 0.8822 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.003658, allocations: 0 / 0.8822 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.003684, allocations: 123.2 kB / 0.8823 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.003684, allocations: 0 / 0.8823 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001308/0.003815, allocations: 8 kB / 0.8823 GB, free: 2.82 MB / 0.8386 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.0001194/0.003934, allocations: 115.2 kB / 0.8825 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.367e-05/0.003988, allocations: 11.69 kB / 0.8825 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.003989, allocations: 0 / 0.8825 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.003995, allocations: 7.688 kB / 0.8825 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.072e-05/0.004086, allocations: 14.19 kB / 0.8825 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000123/0.004209, allocations: 83.94 kB / 0.8826 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.236e-05/0.004231, allocations: 59.23 kB / 0.8826 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.197e-06/0.00424, allocations: 8.125 kB / 0.8826 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.004265, allocations: 66.2 kB / 0.8827 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.004265, allocations: 0 / 0.8827 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of Templates: time 0.001854/0.006119, allocations: 450.7 kB / 0.8831 GB, free: 1.957 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.371836382895708]