Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_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.004897/0.004896, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001061/0.001061, allocations: 192 kB / 16.67 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.604/2.604, allocations: 472.6 MB / 0.7453 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 63.91 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9267/0.9283, allocations: 159.9 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002664/0.931, allocations: 1.43 MB / 1.227 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004205/0.9315, allocations: 163.5 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.9315, allocations: 0 / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.9316, allocations: 0 / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.9316, allocations: 11.92 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.9319, allocations: 31.91 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.932, allocations: 31.86 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.9321, allocations: 4 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.9322, allocations: 11.98 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.9322, allocations: 11.92 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.9322, allocations: 3.938 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.9324, allocations: 43.91 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.9324, allocations: 7.984 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.9324, allocations: 7.938 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.9326, allocations: 40.92 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9326, allocations: 4 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9326, allocations: 4 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.9326, allocations: 0 / 1.227 GB, free: 11.78 MB / 0.9512 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.0004258/0.933, allocations: 350.8 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.9331, allocations: 12.03 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.9331, allocations: 4.891 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.9333, allocations: 160.4 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.9333, allocations: 4.375 kB / 1.228 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.9333, allocations: 384 / 1.228 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.9335, allocations: 58.17 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.9335, allocations: 192 / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.9335, allocations: 3.938 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.9335, allocations: 0 / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.9337, allocations: 35.95 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.934, allocations: 241 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.9341, allocations: 42.5 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.9342, allocations: 28.83 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.9344, allocations: 85.09 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.9344, allocations: 30.56 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/0.9344, allocations: 3.984 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003553/0.9348, allocations: 85.64 kB / 1.228 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.9348, allocations: 51.41 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.9349, allocations: 101.9 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.9349, allocations: 25.7 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.9349, allocations: 84.09 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.935, allocations: 7.938 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.935, allocations: 21.84 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.9351, allocations: 310.8 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.9352, allocations: 15.92 kB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.9353, allocations: 19.98 kB / 1.229 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.9354, allocations: 44.88 kB / 1.229 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9354, allocations: 0 / 1.229 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.9357, allocations: 69.59 kB / 1.229 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9357, allocations: 5.25 kB / 1.229 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.9357, allocations: 4 kB / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.9357, allocations: 0 / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.9358, allocations: 4 kB / 1.229 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.9358, allocations: 11.86 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.9359, allocations: 11.97 kB / 1.229 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.9359, allocations: 4 kB / 1.229 GB, free: 9.637 MB / 0.9512 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 7.697e-05/0.936, allocations: 113.8 kB / 1.229 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.936, allocations: 0 / 1.229 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.9362, allocations: 76.77 kB / 1.229 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.9362, allocations: 0 / 1.229 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.9362, allocations: 4.031 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.9363, allocations: 0 / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.9364, allocations: 161.5 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9364, allocations: 0 / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.9365, allocations: 11.98 kB / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.9365, allocations: 0 / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.9365, allocations: 0 / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9365, allocations: 0 / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9365, allocations: 0 / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.9368, allocations: 171.3 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.9368, allocations: 77.11 kB / 1.23 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.9369, allocations: 4 kB / 1.23 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.9369, allocations: 7.984 kB / 1.23 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.937, allocations: 4 kB / 1.23 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.937, allocations: 0 / 1.23 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.9371, allocations: 83.27 kB / 1.23 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9371, allocations: 4.031 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002464/0.9373, allocations: 8 kB / 1.23 GB, free: 8.824 MB / 0.9512 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.0002386/0.9376, allocations: 123.1 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.9378, allocations: 39.91 kB / 1.23 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9378, allocations: 4.062 kB / 1.23 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.9379, allocations: 15.98 kB / 1.23 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.9382, allocations: 10.52 kB / 1.23 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.9385, allocations: 101.4 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.9388, allocations: 0.6768 MB / 1.231 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.9388, allocations: 0 / 1.231 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.9388, allocations: 11.5 kB / 1.231 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.9388, allocations: 3.938 kB / 1.231 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of Templates: time 0.002999/0.9418, allocations: 0.6598 MB / 1.231 GB, free: 7.125 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches