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.001774/0.001774, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001792/0.001792, allocations: 168.7 kB / 15.95 MB, free: 204 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.574/1.574, allocations: 223.3 MB / 240 MB, free: 5.414 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.545/2.545, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003786, allocations: 11.98 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7157, allocations: 142.4 MB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001509/0.7173, allocations: 1.144 MB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003715/0.7177, allocations: 148 kB / 0.9557 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.7177, allocations: 0 / 0.9557 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.7178, allocations: 3.938 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.7178, allocations: 5.266 kB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.7181, allocations: 28.17 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.7182, allocations: 22.83 kB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.7182, allocations: 6.609 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.7e-05/0.7183, allocations: 10.8 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.7183, allocations: 3.938 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.7183, allocations: 0 / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.7185, allocations: 41.16 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.7185, allocations: 13.02 kB / 0.9558 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.7185, allocations: 26.89 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.336e-05/0.7186, allocations: 35.75 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.7186, allocations: 4 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7186, allocations: 0 / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.7187, allocations: 3.938 kB / 0.9559 GB, free: 6.504 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.0003399/0.719, allocations: 343.7 kB / 0.9562 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.719, allocations: 8.969 kB / 0.9562 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.7191, allocations: 6.172 kB / 0.9562 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.802e-05/0.7192, allocations: 164 kB / 0.9564 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.7192, allocations: 9.406 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.7192, allocations: 0 / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.7194, allocations: 53.98 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7194, allocations: 3.938 kB / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.7194, allocations: 0.9688 kB / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7194, allocations: 0 / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.7196, allocations: 52.88 kB / 0.9565 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.7199, allocations: 248.6 kB / 0.9567 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.72, allocations: 43.66 kB / 0.9568 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.7201, allocations: 31.48 kB / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.7202, allocations: 85.47 kB / 0.9569 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.7203, allocations: 35.84 kB / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.7203, allocations: 0 / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.7206, allocations: 105.8 kB / 0.957 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.7207, allocations: 52.25 kB / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.301e-05/0.7207, allocations: 99.39 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.7208, allocations: 25.7 kB / 0.9572 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.7208, allocations: 85.61 kB / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.7208, allocations: 9.109 kB / 0.9573 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.7208, allocations: 0 / 0.9573 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.7209, allocations: 312.4 kB / 0.9576 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.721, allocations: 25.55 kB / 0.9576 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.721, allocations: 25.7 kB / 0.9576 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.267e-05/0.7211, allocations: 26.5 kB / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7211, allocations: 0 / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002104/0.7214, allocations: 74.45 kB / 0.9577 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7214, allocations: 6.812 kB / 0.9577 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7214, allocations: 0 / 0.9577 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7214, allocations: 0.9688 kB / 0.9577 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.7215, allocations: 15.53 kB / 0.9578 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.7215, allocations: 5.188 kB / 0.9578 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.7216, allocations: 9.422 kB / 0.9578 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.7216, allocations: 1.062 kB / 0.9578 GB, free: 4.613 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 5.552e-05/0.7217, allocations: 115.3 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.7217, allocations: 1.344 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.7219, allocations: 84.19 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7219, allocations: 1.125 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7219, allocations: 7.891 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.722, allocations: 1.125 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.7221, allocations: 157 kB / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7221, allocations: 0.8125 kB / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.7222, allocations: 16.02 kB / 0.9581 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.7222, allocations: 1.031 kB / 0.9581 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.7222, allocations: 4 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7222, allocations: 1 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7222, allocations: 0 / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.7224, allocations: 181.2 kB / 0.9583 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.7225, allocations: 78.2 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.7225, allocations: 0 / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.7225, allocations: 10.02 kB / 0.9584 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.7226, allocations: 6.156 kB / 0.9584 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7226, allocations: 4 kB / 0.9584 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.35e-05/0.7226, allocations: 82.38 kB / 0.9585 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7226, allocations: 1.125 kB / 0.9585 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002573/0.7229, allocations: 17.41 kB / 0.9585 GB, free: 3.863 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.0001686/0.7231, allocations: 111.5 kB / 0.9586 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.7233, allocations: 55.17 kB / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7233, allocations: 0 / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.7234, allocations: 28.11 kB / 0.9587 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.7236, allocations: 1.844 kB / 0.9587 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.7239, allocations: 107.1 kB / 0.9588 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.735e-05/0.724, allocations: 0.6766 MB / 0.9595 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.724, allocations: 1.812 kB / 0.9595 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.724, allocations: 7.438 kB / 0.9595 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.724, allocations: 1.812 kB / 0.9595 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of Templates: time 0.002663/0.7267, allocations: 0.5715 MB / 0.96 GB, free: 2.609 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","/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