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.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.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.007482/0.007482, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001332/0.001332, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.391/1.391, allocations: 222.9 MB / 240.4 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.4/2.4, allocations: 390.2 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 0.9508 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.065, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002771/1.068, allocations: 1.425 MB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004782/1.068, allocations: 162.3 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/1.068, allocations: 0 / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/1.068, allocations: 9.688 kB / 1.089 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/1.068, allocations: 0.7031 kB / 1.089 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/1.069, allocations: 37.94 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.29e-05/1.069, allocations: 23.61 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/1.069, allocations: 7.844 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/1.069, allocations: 8.344 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/1.069, allocations: 11.11 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/1.069, allocations: 1.156 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/1.069, allocations: 38.34 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/1.069, allocations: 10.61 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/1.069, allocations: 14.52 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/1.069, allocations: 41.34 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.069, allocations: 0.6094 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/1.069, allocations: 0.75 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.069, allocations: 0 / 1.09 GB, free: 4.305 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004566/1.07, allocations: 343.1 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.07, allocations: 8.688 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/1.07, allocations: 7.188 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.662e-05/1.07, allocations: 175.1 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/1.07, allocations: 0.8906 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/1.07, allocations: 1.875 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/1.07, allocations: 48.88 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.07, allocations: 1.344 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/1.07, allocations: 3.938 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.07, allocations: 0 / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/1.071, allocations: 38.05 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/1.071, allocations: 254.1 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.071, allocations: 40.48 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/1.071, allocations: 28.7 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/1.071, allocations: 83.95 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/1.071, allocations: 35.78 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.071, allocations: 3.938 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003877/1.072, allocations: 83.81 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/1.072, allocations: 52.72 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/1.072, allocations: 100.7 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/1.072, allocations: 30.89 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/1.072, allocations: 85.69 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/1.072, allocations: 1.438 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/1.072, allocations: 16.05 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/1.072, allocations: 313.9 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/1.072, allocations: 14.25 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.149e-05/1.072, allocations: 21.34 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/1.072, allocations: 37.92 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/1.072, allocations: 0 / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/1.073, allocations: 74.98 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.073, allocations: 5.422 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.073, allocations: 1.125 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.073, allocations: 4.094 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/1.073, allocations: 9.094 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.073, allocations: 0.9062 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/1.073, allocations: 6.734 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/1.073, allocations: 0 / 1.092 GB, free: 2.488 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 (2): * Single equations (assignments): 2 * 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 5.449e-05/1.073, allocations: 116.5 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/1.073, allocations: 0.875 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/1.073, allocations: 83.39 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.073, allocations: 1.797 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.073, allocations: 0 / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.073, allocations: 0 / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/1.073, allocations: 160.9 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.073, allocations: 0 / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/1.073, allocations: 12.64 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.073, allocations: 0 / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.073, allocations: 1.891 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.073, allocations: 4.031 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.073, allocations: 0.9062 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/1.074, allocations: 159 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/1.074, allocations: 84.58 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/1.074, allocations: 4.688 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/1.074, allocations: 9.547 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/1.074, allocations: 6.906 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/1.074, allocations: 5.25 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.268e-05/1.074, allocations: 83.75 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.074, allocations: 0 / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002413/1.074, allocations: 10.64 kB / 1.092 GB, free: 1.781 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 (2): * Single equations (assignments): 2 * 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.0002223/1.074, allocations: 115.3 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002569/1.075, allocations: 39 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.075, allocations: 0 / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/1.075, allocations: 16.58 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/1.075, allocations: 6.922 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/1.075, allocations: 115.4 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/1.076, allocations: 0.6758 MB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.801e-05/1.076, allocations: 1.359 kB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/1.076, allocations: 8.25 kB / 1.093 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.076, allocations: 1.062 kB / 1.093 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of Templates: time 0.004644/1.08, allocations: 0.6495 MB / 1.094 GB, free: 0.7617 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches