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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001679/0.001679, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001982/0.001983, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8419/0.8434, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001761/0.8452, allocations: 0.5737 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003594/0.8455, allocations: 107 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.8456, allocations: 3.938 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.8456, allocations: 1.219 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.8456, allocations: 3.938 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.846, allocations: 25.75 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.036e-05/0.846, allocations: 6.062 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.8461, allocations: 2.438 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.8461, allocations: 3.984 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.845e-05/0.8461, allocations: 5.688 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.8461, allocations: 4 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.8463, allocations: 36.34 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.8463, allocations: 4 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.8463, allocations: 1.734 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.8465, allocations: 27.25 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8465, allocations: 0 / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8465, allocations: 1.531 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8465, allocations: 0 / 1.089 GB, free: 5.039 MB / 0.8575 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.0002395/0.8467, allocations: 314.4 kB / 1.09 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8468, allocations: 9.391 kB / 1.09 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.8468, allocations: 6.906 kB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.039e-05/0.8469, allocations: 161.5 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.8469, allocations: 384 / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.8469, allocations: 384 / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.528e-05/0.847, allocations: 29.94 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.847, allocations: 4.125 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.847, allocations: 3.938 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.8471, allocations: 5.125 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.8471, allocations: 5.797 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.8472, allocations: 152 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.212e-05/0.8472, allocations: 17.41 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.8472, allocations: 6.516 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.8475, allocations: 92.06 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.8475, allocations: 32.38 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.8475, allocations: 0 / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.8476, allocations: 43.72 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.8477, allocations: 51.41 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.304e-05/0.8477, allocations: 91.64 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.8477, allocations: 25.7 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.355e-05/0.8477, allocations: 80.14 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.8478, allocations: 2.375 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.8478, allocations: 16.27 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.8478, allocations: 310.8 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.8479, allocations: 10.17 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.8479, allocations: 2.125 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.8479, allocations: 10.78 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8479, allocations: 0 / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.641e-05/0.848, allocations: 32.58 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.848, allocations: 4.562 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.848, allocations: 1.391 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.848, allocations: 3.938 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.8481, allocations: 10.78 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.8481, allocations: 0 / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.8481, allocations: 1.844 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.8481, allocations: 0 / 1.091 GB, free: 3.363 MB / 0.8575 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 4.83e-05/0.8482, allocations: 112.3 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.8482, allocations: 0.5156 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.377e-05/0.8483, allocations: 43.16 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8483, allocations: 1.125 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.8483, allocations: 0.5156 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.8483, allocations: 4.031 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.427e-05/0.8483, allocations: 148.6 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8483, allocations: 1.188 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.8484, allocations: 1.766 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8484, allocations: 0.5156 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.8484, allocations: 5.062 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.8484, allocations: 0 / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8484, allocations: 1.844 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.643e-05/0.8485, allocations: 64.12 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.8485, allocations: 78.7 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.8485, allocations: 8.453 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-06/0.8485, allocations: 1.656 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.8485, allocations: 4.609 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.8485, allocations: 1.281 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.438e-05/0.8486, allocations: 75.28 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8486, allocations: 0 / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002031/0.8488, allocations: 11.75 kB / 1.091 GB, free: 2.746 MB / 0.8575 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.0001908/0.849, allocations: 115.6 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.8491, allocations: 4.469 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8491, allocations: 0 / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.8491, allocations: 2.5 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.8492, allocations: 4.844 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.8494, allocations: 120.7 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.8495, allocations: 0.6716 MB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.8495, allocations: 12.66 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.8495, allocations: 0 / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of Templates: time 0.002296/0.8518, allocations: 0.5562 MB / 1.093 GB, free: 1.762 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches