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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001684/0.001684, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.51/2.51, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8176, allocations: 140.4 MB / 0.9489 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001695/0.8194, allocations: 0.6492 MB / 0.9496 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.8198, allocations: 108.3 kB / 0.9497 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.075e-05/0.8198, allocations: 1.375 kB / 0.9497 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.8198, allocations: 0 / 0.9497 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.8198, allocations: 0 / 0.9497 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.8201, allocations: 26.91 kB / 0.9497 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.294e-05/0.8202, allocations: 9.359 kB / 0.9497 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.8202, allocations: 1.375 kB / 0.9497 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.8202, allocations: 0 / 0.9497 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.649e-05/0.8203, allocations: 1.375 kB / 0.9497 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.8203, allocations: 4 kB / 0.9497 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.8204, allocations: 37.78 kB / 0.9497 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.8205, allocations: 1.375 kB / 0.9497 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.8205, allocations: 0 / 0.9497 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.8206, allocations: 36.27 kB / 0.9498 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8206, allocations: 0 / 0.9498 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.32e-07/0.8206, allocations: 0 / 0.9498 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.8206, allocations: 1.375 kB / 0.9498 GB, free: 8.867 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002205/0.8209, allocations: 315.7 kB / 0.9501 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.8209, allocations: 9.625 kB / 0.9501 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.821, allocations: 4.938 kB / 0.9501 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.139e-05/0.821, allocations: 164.3 kB / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.821, allocations: 1.75 kB / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.821, allocations: 4.359 kB / 0.9503 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.793e-05/0.8211, allocations: 27.64 kB / 0.9503 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.8211, allocations: 1.562 kB / 0.9503 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.8211, allocations: 7.938 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.8211, allocations: 0 / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.607e-05/0.8212, allocations: 1.375 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.56e-05/0.8213, allocations: 151.1 kB / 0.9504 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.395e-05/0.8213, allocations: 19.89 kB / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.8213, allocations: 6.234 kB / 0.9505 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.8215, allocations: 89.22 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.8216, allocations: 35.92 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8216, allocations: 0 / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.8217, allocations: 37.77 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.8217, allocations: 52.78 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.568e-05/0.8217, allocations: 89.86 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-06/0.8217, allocations: 29.64 kB / 0.9508 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.2e-05/0.8218, allocations: 84.08 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.8218, allocations: 5.281 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.8218, allocations: 15.09 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.8219, allocations: 312.2 kB / 0.9512 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.8219, allocations: 4.125 kB / 0.9512 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.8219, allocations: 5.359 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.8219, allocations: 7.609 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8219, allocations: 0 / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.199e-05/0.822, allocations: 35.14 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.822, allocations: 5.5 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.822, allocations: 0 / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.822, allocations: 5.312 kB / 0.9512 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.8221, allocations: 9.406 kB / 0.9512 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8221, allocations: 0 / 0.9512 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.8221, allocations: 4 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.8221, allocations: 1.375 kB / 0.9513 GB, free: 7.168 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 (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 3.898e-05/0.8221, allocations: 111.2 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.8222, allocations: 0 / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.8222, allocations: 36.89 kB / 0.9514 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.8222, allocations: 1.375 kB / 0.9514 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8222, allocations: 0 / 0.9514 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.8222, allocations: 4.031 kB / 0.9514 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.461e-05/0.8223, allocations: 151 kB / 0.9515 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.8223, allocations: 0 / 0.9515 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.8223, allocations: 2.75 kB / 0.9515 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.8223, allocations: 0 / 0.9515 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.8223, allocations: 3.938 kB / 0.9516 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8223, allocations: 1.375 kB / 0.9516 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8223, allocations: 3.938 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.55e-05/0.8224, allocations: 58.62 kB / 0.9516 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.8224, allocations: 78.48 kB / 0.9517 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.8224, allocations: 3.938 kB / 0.9517 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-06/0.8224, allocations: 9.375 kB / 0.9517 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.8225, allocations: 0 / 0.9517 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.8225, allocations: 0 / 0.9517 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.401e-05/0.8225, allocations: 76.66 kB / 0.9518 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8225, allocations: 0 / 0.9518 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002004/0.8227, allocations: 10.88 kB / 0.9518 GB, free: 6.551 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 (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.0001581/0.8229, allocations: 121.4 kB / 0.9519 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.06e-05/0.8229, allocations: 8.062 kB / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.8229, allocations: 0 / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.8229, allocations: 1.375 kB / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.8231, allocations: 16.97 kB / 0.9519 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001359/0.8232, allocations: 75.02 kB / 0.952 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.424e-05/0.8233, allocations: 0.6706 MB / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.178e-05/0.8233, allocations: 1.375 kB / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.8234, allocations: 7.438 kB / 0.9527 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8234, allocations: 0 / 0.9527 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.002105/0.8255, allocations: 386.4 kB / 0.953 GB, free: 5.438 MB / 0.7169 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/jenkins/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