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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|E1",fileNamePrefix="Buildings_latest_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.001155/0.001155, allocations: 100.5 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.001331/0.001331, allocations: 177.3 kB / 15.94 MB, free: 228 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.478/1.478, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 436.5 MB / 0.7104 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004675, allocations: 16 kB / 0.8708 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8976/0.8981, allocations: 153.7 MB / 1.021 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0006185/0.8987, allocations: 317.4 kB / 1.021 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000287/0.899, allocations: 95.73 kB / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-06/0.8991, allocations: 0 / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.667e-06/0.8991, allocations: 4 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-06/0.8991, allocations: 0 / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.8993, allocations: 19.98 kB / 1.021 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.571e-05/0.8994, allocations: 7.875 kB / 1.021 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.8994, allocations: 3.984 kB / 1.021 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.084e-05/0.8994, allocations: 0 / 1.021 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.835e-05/0.8994, allocations: 3.984 kB / 1.021 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.134e-06/0.8995, allocations: 4 kB / 1.021 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.8996, allocations: 39.91 kB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-06/0.8996, allocations: 0 / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.8996, allocations: 25.7 kB / 1.021 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.027e-05/0.8997, allocations: 19.97 kB / 1.021 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.8997, allocations: 0 / 1.021 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8997, allocations: 0 / 1.021 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.8997, allocations: 0 / 1.021 GB, free: 0.5117 MB / 0.7637 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.0002233/0.9, allocations: 319.4 kB / 1.022 GB, free: 156 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.9, allocations: 11.98 kB / 1.022 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.9001, allocations: 0 / 1.022 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.9002, allocations: 167 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.9002, allocations: 0 / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.9002, allocations: 4 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.896e-05/0.9003, allocations: 29.66 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.9003, allocations: 3.984 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.9003, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9003, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.9004, allocations: 4 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.9005, allocations: 145.7 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.489e-05/0.9005, allocations: 22.55 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.9007, allocations: 85.16 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.9008, allocations: 34.56 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.9008, allocations: 0 / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.9009, allocations: 37.64 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.9009, allocations: 55.41 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.211e-05/0.901, allocations: 89.86 kB / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.901, allocations: 25.7 kB / 1.022 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.901, allocations: 84.27 kB / 1.022 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.901, allocations: 11.84 kB / 1.022 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-06/0.901, allocations: 3.938 kB / 1.022 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.9011, allocations: 310.8 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-06/0.9012, allocations: 0 / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/0.9012, allocations: 0 / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.637e-05/0.9012, allocations: 4 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9012, allocations: 0 / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.082e-05/0.9013, allocations: 41.75 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.9013, allocations: 4 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.9013, allocations: 3.938 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9013, allocations: 3.953 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.432e-05/0.9014, allocations: 4 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.9014, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/0.9014, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.9014, allocations: 4 kB / 1.023 GB, free: 14.8 MB / 0.7794 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 6.101e-05/0.9015, allocations: 111.7 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.9015, allocations: 7.969 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.9016, allocations: 40.8 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.9016, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.9016, allocations: 3.953 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.9016, allocations: 0 / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.069e-05/0.9017, allocations: 145.7 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9017, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.9017, allocations: 7.984 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9017, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.9017, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9017, allocations: 32 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9017, allocations: 4 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.587e-05/0.9018, allocations: 61.03 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.9018, allocations: 81.11 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.9019, allocations: 3.984 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.9019, allocations: 0 / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.9019, allocations: 0 / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.9019, allocations: 4 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.317e-05/0.9019, allocations: 83.27 kB / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.9019, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002008/0.9021, allocations: 8 kB / 1.023 GB, free: 14.15 MB / 0.7794 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.0001606/0.9023, allocations: 119.2 kB / 1.023 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.078e-05/0.9024, allocations: 4 kB / 1.023 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9024, allocations: 4.062 kB / 1.023 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.744e-06/0.9024, allocations: 3.938 kB / 1.023 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.117e-05/0.9025, allocations: 4 kB / 1.023 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001386/0.9026, allocations: 72.73 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.9028, allocations: 0.677 MB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.9028, allocations: 0 / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.039e-05/0.9029, allocations: 7.438 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9029, allocations: 0 / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.002157/0.905, allocations: 386.4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches