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.001025/0.001025, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.34 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.379/2.379, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.7069, allocations: 142.4 MB / 0.9557 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00143/0.7084, allocations: 1.156 MB / 0.9568 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004198/0.7089, allocations: 158.4 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.7089, allocations: 1.062 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.7089, allocations: 0 / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.709, allocations: 1.094 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.7092, allocations: 36.09 kB / 0.957 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.7093, allocations: 25.02 kB / 0.9571 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.7094, allocations: 6.344 kB / 0.9571 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.7094, allocations: 7.578 kB / 0.9571 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.7095, allocations: 14.11 kB / 0.9571 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.7095, allocations: 1.156 kB / 0.9571 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.7096, allocations: 39.09 kB / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.7096, allocations: 1.094 kB / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.7097, allocations: 38.81 kB / 0.9572 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.579e-05/0.7098, allocations: 23.98 kB / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7098, allocations: 0 / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7098, allocations: 1 kB / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.7098, allocations: 4 kB / 0.9572 GB, free: 6.543 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.0003566/0.7102, allocations: 348.5 kB / 0.9575 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7102, allocations: 13.73 kB / 0.9575 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.7103, allocations: 2.25 kB / 0.9575 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.414e-05/0.7103, allocations: 161.9 kB / 0.9577 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7104, allocations: 384 / 0.9577 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.7104, allocations: 5.594 kB / 0.9577 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.7105, allocations: 63.08 kB / 0.9578 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.7105, allocations: 192 / 0.9578 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.7106, allocations: 3.938 kB / 0.9578 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.7106, allocations: 1.25 kB / 0.9578 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.7108, allocations: 48.33 kB / 0.9578 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.711, allocations: 252 kB / 0.958 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.7111, allocations: 43.84 kB / 0.9581 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.7112, allocations: 35.52 kB / 0.9581 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.7114, allocations: 85.09 kB / 0.9582 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.7114, allocations: 35.97 kB / 0.9582 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.7114, allocations: 0 / 0.9582 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000369/0.7118, allocations: 94.59 kB / 0.9583 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.7118, allocations: 56.86 kB / 0.9584 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.7119, allocations: 98.86 kB / 0.9585 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.7119, allocations: 29.83 kB / 0.9585 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.7119, allocations: 81.08 kB / 0.9586 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.7119, allocations: 9.438 kB / 0.9586 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.7119, allocations: 13.7 kB / 0.9586 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.712, allocations: 311.8 kB / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.831e-05/0.7121, allocations: 26.61 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.7122, allocations: 21.52 kB / 0.9589 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.7123, allocations: 50.41 kB / 0.959 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7124, allocations: 4.062 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.7126, allocations: 73.83 kB / 0.9591 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.7126, allocations: 5.562 kB / 0.9591 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7126, allocations: 3.984 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.7126, allocations: 0 / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.7127, allocations: 16.62 kB / 0.9591 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7127, allocations: 1.031 kB / 0.9591 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.7128, allocations: 14.67 kB / 0.9591 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.7128, allocations: 3.938 kB / 0.9591 GB, free: 4.609 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.7128, allocations: 111.4 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.7129, allocations: 1.469 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.7131, allocations: 84.78 kB / 0.9593 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7131, allocations: 7.969 kB / 0.9593 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7131, allocations: 3.938 kB / 0.9593 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.7131, allocations: 1.438 kB / 0.9593 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.7132, allocations: 161.8 kB / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7132, allocations: 4 kB / 0.9595 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.7133, allocations: 16.73 kB / 0.9595 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7133, allocations: 0 / 0.9595 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.7133, allocations: 1.188 kB / 0.9595 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7133, allocations: 0 / 0.9595 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.7133, allocations: 0 / 0.9595 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.7136, allocations: 181.5 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.7136, allocations: 78.58 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.7136, allocations: 0 / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.7137, allocations: 9.984 kB / 0.9597 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.7138, allocations: 1 kB / 0.9597 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.7138, allocations: 5.438 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.132e-05/0.7138, allocations: 81.89 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7138, allocations: 1.281 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002617/0.7141, allocations: 12.84 kB / 0.9598 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 (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.0001549/0.7142, allocations: 116.4 kB / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.7145, allocations: 54.36 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7145, allocations: 0 / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.7146, allocations: 20.83 kB / 0.96 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.7149, allocations: 13.38 kB / 0.96 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.7151, allocations: 130.3 kB / 0.9602 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.887e-05/0.7152, allocations: 0.681 MB / 0.9608 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.7152, allocations: 8.812 kB / 0.9608 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7153, allocations: 0 / 0.9608 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.002043/0.7173, allocations: 0.7579 MB / 0.9616 GB, free: 2.5 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/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