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.001889/0.001889, allocations: 104.6 kB / 16.41 MB, free: 6.5 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.00212/0.00212, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 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.222/2.222, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9173, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002262/0.9196, allocations: 1.43 MB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003728/0.92, allocations: 154.1 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.9201, allocations: 1.094 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.9201, allocations: 8.531 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.667e-05/0.9201, allocations: 12.92 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.9204, allocations: 34.61 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.9205, allocations: 27.05 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.9206, allocations: 3.828 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.9206, allocations: 9.375 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.9207, allocations: 18.19 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.9207, allocations: 5.875 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.9208, allocations: 33.95 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.9208, allocations: 2.344 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.9209, allocations: 14.83 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.921, allocations: 48.52 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.921, allocations: 2.031 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.921, allocations: 0 / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.921, allocations: 0 / 1.09 GB, free: 4.316 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.0003704/0.9214, allocations: 342.1 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.9214, allocations: 9.344 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.9215, allocations: 7.047 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.921e-05/0.9216, allocations: 163.3 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.9216, allocations: 5.719 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.9216, allocations: 1.688 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.9218, allocations: 48.98 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.9218, allocations: 192 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.9218, allocations: 3.938 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.9218, allocations: 4.891 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.922, allocations: 37.42 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.9222, allocations: 249.9 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.9224, allocations: 41.22 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.9225, allocations: 19.34 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.9226, allocations: 84.45 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.9226, allocations: 44.38 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9226, allocations: 0 / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003518/0.923, allocations: 75.92 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.923, allocations: 52.06 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.9231, allocations: 101.4 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.9231, allocations: 25.7 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.9231, allocations: 93.88 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.9231, allocations: 1.781 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.9232, allocations: 13.02 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.9232, allocations: 316.9 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.9233, allocations: 17.8 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.9234, allocations: 14.3 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.9235, allocations: 49.3 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9236, allocations: 0 / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.9237, allocations: 72.02 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.9238, allocations: 5.25 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.9238, allocations: 0 / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.9238, allocations: 0.5156 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.9239, allocations: 13.52 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.9239, allocations: 5.031 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.9239, allocations: 6.109 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.9239, allocations: 1 kB / 1.092 GB, free: 2.508 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 4.558e-05/0.924, allocations: 111.5 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.924, allocations: 2.125 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.9243, allocations: 78.34 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.9243, allocations: 1.516 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9243, allocations: 4 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9243, allocations: 1.125 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.9244, allocations: 159.3 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9244, allocations: 1.078 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.9245, allocations: 8.203 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9245, allocations: 1.172 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.9245, allocations: 0.5312 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9245, allocations: 1.266 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9245, allocations: 4.031 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.9247, allocations: 166.4 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.9247, allocations: 85.17 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.9248, allocations: 0.875 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.9248, allocations: 6 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.9249, allocations: 6.766 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.9249, allocations: 1.328 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.295e-05/0.9249, allocations: 83.61 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9249, allocations: 0 / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002355/0.9252, allocations: 10.77 kB / 1.093 GB, free: 1.812 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.0001742/0.9253, allocations: 118.3 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.9256, allocations: 39.75 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9256, allocations: 0 / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.9257, allocations: 24.36 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.9259, allocations: 6.984 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.9262, allocations: 127.7 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.306e-05/0.9263, allocations: 0.6792 MB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.9263, allocations: 8.5 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.9263, allocations: 0 / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of Templates: time 0.002228/0.9285, allocations: 0.7697 MB / 1.095 GB, free: 0.7891 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches