Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_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.000971/0.000971, allocations: 99.94 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.0009525/0.0009525, 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.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.515/2.515, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 12 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.9134, allocations: 142.3 MB / 0.9535 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00161/0.9151, allocations: 1.145 MB / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000333/0.9154, allocations: 143.7 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.9155, allocations: 1.5 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.9155, allocations: 3.938 kB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.9155, allocations: 9.328 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.9158, allocations: 30.62 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.808e-05/0.9159, allocations: 15.23 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.9159, allocations: 7.547 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.916, allocations: 6.562 kB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.916, allocations: 10.23 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.9161, allocations: 1.438 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.9162, allocations: 41.67 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.9162, allocations: 4 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.9162, allocations: 30.52 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.9164, allocations: 36.41 kB / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.9164, allocations: 0 / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9164, allocations: 0 / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.9164, allocations: 1.281 kB / 0.9549 GB, free: 6.973 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003813/0.9168, allocations: 338.5 kB / 0.9553 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9168, allocations: 9.344 kB / 0.9553 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.9169, allocations: 9.297 kB / 0.9553 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.917, allocations: 168.6 kB / 0.9555 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.917, allocations: 4 kB / 0.9555 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.9171, allocations: 5.344 kB / 0.9555 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.9172, allocations: 49.56 kB / 0.9555 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.9173, allocations: 1.062 kB / 0.9555 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.9173, allocations: 3.984 kB / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.9173, allocations: 1.188 kB / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.9175, allocations: 47.11 kB / 0.9556 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.9178, allocations: 249 kB / 0.9558 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.9179, allocations: 48.91 kB / 0.9558 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.9181, allocations: 84.75 kB / 0.9559 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.9181, allocations: 34.5 kB / 0.956 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9181, allocations: 1.25 kB / 0.956 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003785/0.9185, allocations: 106.1 kB / 0.9561 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.9185, allocations: 52.38 kB / 0.9561 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.9186, allocations: 98.39 kB / 0.9562 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.9186, allocations: 34.89 kB / 0.9562 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.9186, allocations: 85.25 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.9186, allocations: 3.906 kB / 0.9563 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.9187, allocations: 1.094 kB / 0.9563 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.9187, allocations: 315.6 kB / 0.9566 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.9188, allocations: 17.77 kB / 0.9566 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.9189, allocations: 30.38 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.919, allocations: 17.98 kB / 0.9567 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.919, allocations: 0 / 0.9567 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.9192, allocations: 74.67 kB / 0.9568 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9192, allocations: 9.547 kB / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9192, allocations: 3.938 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.9192, allocations: 0 / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.9193, allocations: 8.844 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.9193, allocations: 3.953 kB / 0.9568 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.9194, allocations: 18.61 kB / 0.9568 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.9194, allocations: 1 kB / 0.9568 GB, free: 5.098 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 (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 6.551e-05/0.9195, allocations: 110.8 kB / 0.9569 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.9195, allocations: 1.844 kB / 0.9569 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.9198, allocations: 84.06 kB / 0.957 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.9198, allocations: 3.984 kB / 0.957 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9198, allocations: 1.031 kB / 0.957 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9198, allocations: 3.953 kB / 0.957 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.9199, allocations: 153.9 kB / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9199, allocations: 1.406 kB / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.92, allocations: 12.11 kB / 0.9572 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.92, allocations: 32 / 0.9572 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.92, allocations: 5 kB / 0.9572 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.92, allocations: 4 kB / 0.9572 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.92, allocations: 0.9688 kB / 0.9572 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.9202, allocations: 183.8 kB / 0.9573 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.9202, allocations: 82.36 kB / 0.9574 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.9203, allocations: 1.188 kB / 0.9574 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.9203, allocations: 13.81 kB / 0.9574 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.9204, allocations: 1 kB / 0.9574 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-06/0.9204, allocations: 1.156 kB / 0.9574 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.9204, allocations: 82.86 kB / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9204, allocations: 0 / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002292/0.9207, allocations: 18.19 kB / 0.9575 GB, free: 4.352 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 (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.0001669/0.9208, allocations: 114.4 kB / 0.9576 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.9211, allocations: 55.45 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9211, allocations: 0 / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.9212, allocations: 19.39 kB / 0.9577 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.9213, allocations: 2.344 kB / 0.9577 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.9216, allocations: 107 kB / 0.9578 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.9217, allocations: 0.683 MB / 0.9585 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.9217, allocations: 0 / 0.9585 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.9218, allocations: 8.875 kB / 0.9585 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.9218, allocations: 0 / 0.9585 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Templates: time 0.002533/0.9243, allocations: 0.5676 MB / 0.959 GB, free: 3.102 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches