Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001139/0.001139, allocations: 172.7 kB / 15.95 MB, free: 208 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.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.816/2.816, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004058, allocations: 16 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8486/0.849, allocations: 153.8 MB / 1.022 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001512/0.8506, allocations: 1.157 MB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.851, allocations: 140.5 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.851, allocations: 8 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.851, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.8511, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.8514, allocations: 39.89 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.8514, allocations: 19.94 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.207e-05/0.8515, allocations: 3.984 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.8515, allocations: 4 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.8516, allocations: 15.92 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.8516, allocations: 3.938 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.8517, allocations: 43.89 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.8518, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.8518, allocations: 29.7 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.8519, allocations: 23.95 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8519, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8519, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.8519, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004034/0.8523, allocations: 347.1 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.8524, allocations: 16.03 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.8524, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.8526, allocations: 167 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.8526, allocations: 4 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.8526, allocations: 3.984 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.8528, allocations: 57.62 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.8528, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.8528, allocations: 4 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8529, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.853, allocations: 39.97 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.8534, allocations: 260.8 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.8535, allocations: 42.5 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.687e-05/0.8536, allocations: 24.91 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.8538, allocations: 89.09 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.8539, allocations: 38.56 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.8539, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003934/0.8543, allocations: 97.67 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.8543, allocations: 55.34 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.8544, allocations: 101.8 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.8544, allocations: 25.7 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.8545, allocations: 92.06 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.8545, allocations: 7.906 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.8545, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8547, allocations: 318.8 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.8548, allocations: 31.97 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.8548, allocations: 15.98 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.8549, allocations: 28.05 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8549, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.8552, allocations: 77.61 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.8552, allocations: 5.719 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.8552, allocations: 32 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.8552, allocations: 11.94 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.8553, allocations: 11.98 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8553, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.8554, allocations: 4 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.8554, allocations: 4 kB / 1.026 GB, free: 12.54 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 (2): * Single equations (assignments): 2 * 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 7.97e-05/0.8555, allocations: 113.8 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.8555, allocations: 7.953 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.8557, allocations: 84.78 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8558, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.8558, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8558, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.8559, allocations: 165.6 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.856, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.856, allocations: 15.92 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.856, allocations: 3.953 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.856, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.856, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8561, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.8563, allocations: 175.5 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.8564, allocations: 77.11 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.8564, allocations: 7.938 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.8564, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.8565, allocations: 12.02 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.8565, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.8566, allocations: 87.45 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.8566, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002515/0.8568, allocations: 8 kB / 1.026 GB, free: 11.69 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 (2): * Single equations (assignments): 2 * 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.0002047/0.857, allocations: 115.2 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.8573, allocations: 55.84 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8573, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.8574, allocations: 32.03 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.8576, allocations: 6.109 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.8579, allocations: 96.72 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.8581, allocations: 0.677 MB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.8582, allocations: 7.984 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.8582, allocations: 7.438 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8582, allocations: 64 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.003028/0.8612, allocations: 0.562 MB / 1.028 GB, free: 10.08 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches