Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001525/0.001525, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004207, allocations: 12 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8703/0.8708, allocations: 142.3 MB / 0.9535 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0006627/0.8715, allocations: 319.7 kB / 0.9538 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002739/0.8718, allocations: 93.47 kB / 0.9539 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.167e-05/0.8718, allocations: 0 / 0.9539 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.8718, allocations: 1.469 kB / 0.9539 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.8718, allocations: 3.938 kB / 0.9539 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.8721, allocations: 22.22 kB / 0.9539 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.013e-05/0.8721, allocations: 0 / 0.9539 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.8722, allocations: 0.8438 kB / 0.9539 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.8722, allocations: 3.938 kB / 0.9539 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.063e-05/0.8722, allocations: 1.75 kB / 0.954 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.886e-06/0.8722, allocations: 0 / 0.954 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.8724, allocations: 43.89 kB / 0.954 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.911e-06/0.8724, allocations: 0 / 0.954 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.8724, allocations: 27.23 kB / 0.954 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.448e-05/0.8725, allocations: 20.66 kB / 0.954 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.8725, allocations: 0 / 0.954 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.266e-06/0.8725, allocations: 0 / 0.954 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.8726, allocations: 3.938 kB / 0.954 GB, free: 7.82 MB / 0.7169 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.0001987/0.8728, allocations: 315.3 kB / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.8728, allocations: 8.156 kB / 0.9544 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.8729, allocations: 9.234 kB / 0.9544 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.005e-05/0.8729, allocations: 167 kB / 0.9545 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.8729, allocations: 1.344 kB / 0.9545 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.8729, allocations: 0 / 0.9545 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.115e-05/0.873, allocations: 28.2 kB / 0.9545 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.873, allocations: 0 / 0.9545 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.8731, allocations: 0 / 0.9545 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.8731, allocations: 0 / 0.9545 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.82e-05/0.8731, allocations: 5.578 kB / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.543e-05/0.8732, allocations: 151 kB / 0.9547 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.386e-05/0.8732, allocations: 23.8 kB / 0.9547 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.8734, allocations: 84.97 kB / 0.9548 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.8734, allocations: 31.38 kB / 0.9548 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.8734, allocations: 0 / 0.9548 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.8736, allocations: 30.8 kB / 0.9549 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.8736, allocations: 52.28 kB / 0.9549 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.718e-05/0.8736, allocations: 97.98 kB / 0.955 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.8736, allocations: 25.7 kB / 0.955 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.034e-05/0.8737, allocations: 81.45 kB / 0.9551 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.8737, allocations: 7.891 kB / 0.9551 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-06/0.8737, allocations: 0 / 0.9551 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.8737, allocations: 316 kB / 0.9554 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-06/0.8737, allocations: 5.281 kB / 0.9554 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.8738, allocations: 0 / 0.9554 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.59e-05/0.8738, allocations: 6.625 kB / 0.9554 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8738, allocations: 0 / 0.9554 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.543e-05/0.8738, allocations: 34.67 kB / 0.9555 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8739, allocations: 6.062 kB / 0.9555 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.8739, allocations: 0 / 0.9555 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8739, allocations: 1.344 kB / 0.9555 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.723e-05/0.8739, allocations: 4.672 kB / 0.9555 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.8739, allocations: 5.094 kB / 0.9555 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.874, allocations: 4 kB / 0.9555 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.874, allocations: 1.281 kB / 0.9555 GB, free: 6.168 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.874, allocations: 115 kB / 0.9556 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.874, allocations: 0 / 0.9556 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/0.8741, allocations: 37.8 kB / 0.9556 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8741, allocations: 3.984 kB / 0.9556 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8741, allocations: 0 / 0.9556 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8741, allocations: 1.281 kB / 0.9556 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.879e-05/0.8742, allocations: 154.9 kB / 0.9558 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8742, allocations: 0 / 0.9558 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.8742, allocations: 1.281 kB / 0.9558 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8742, allocations: 5.375 kB / 0.9558 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.8742, allocations: 0 / 0.9558 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8742, allocations: 0 / 0.9558 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8742, allocations: 1.25 kB / 0.9558 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.052e-05/0.8743, allocations: 62.08 kB / 0.9558 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.8743, allocations: 86.34 kB / 0.9559 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.8743, allocations: 0 / 0.9559 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.8743, allocations: 9.25 kB / 0.9559 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.8744, allocations: 0 / 0.9559 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.8744, allocations: 1.312 kB / 0.9559 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.124e-05/0.8744, allocations: 79.27 kB / 0.956 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8744, allocations: 0 / 0.956 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002412/0.8746, allocations: 7.406 kB / 0.956 GB, free: 5.539 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001794/0.8748, allocations: 113.2 kB / 0.9561 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.177e-05/0.8749, allocations: 3.844 kB / 0.9561 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8749, allocations: 0 / 0.9561 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.8749, allocations: 9.516 kB / 0.9561 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.875, allocations: 4.953 kB / 0.9561 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001477/0.8752, allocations: 77.61 kB / 0.9562 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.395e-05/0.8753, allocations: 0.6754 MB / 0.9569 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.152e-05/0.8753, allocations: 1.094 kB / 0.9569 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-06/0.8753, allocations: 11.56 kB / 0.9569 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8753, allocations: 1.5 kB / 0.9569 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.0023/0.8776, allocations: 380.1 kB / 0.9573 GB, free: 4.43 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches