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.0008738/0.0008738, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006726/0.006726, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.496/1.496, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.517/2.517, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9904/0.9908, allocations: 142.4 MB / 0.955 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001658/0.9925, allocations: 1.156 MB / 0.9562 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005207/0.993, allocations: 159.2 kB / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.9931, allocations: 0 / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.9931, allocations: 7.984 kB / 0.9563 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.9932, allocations: 4.969 kB / 0.9563 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.9935, allocations: 32.28 kB / 0.9564 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.9936, allocations: 20.64 kB / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.9937, allocations: 3.031 kB / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.9937, allocations: 10.3 kB / 0.9564 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.9938, allocations: 7.156 kB / 0.9564 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.9938, allocations: 1.094 kB / 0.9564 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.994, allocations: 38.62 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.994, allocations: 16.88 kB / 0.9565 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.994, allocations: 31.67 kB / 0.9565 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.9942, allocations: 43.56 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9942, allocations: 1.281 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9942, allocations: 0 / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.9942, allocations: 0 / 0.9565 GB, free: 6.453 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.0004083/0.9946, allocations: 347.2 kB / 0.9569 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.9947, allocations: 13.44 kB / 0.9569 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.9947, allocations: 2.25 kB / 0.9569 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.9948, allocations: 161.5 kB / 0.957 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.9949, allocations: 5.281 kB / 0.957 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.9949, allocations: 1.219 kB / 0.957 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.9951, allocations: 54.73 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9951, allocations: 4.125 kB / 0.9571 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.9951, allocations: 4.969 kB / 0.9571 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.9951, allocations: 4 kB / 0.9571 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.9953, allocations: 44.48 kB / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.9957, allocations: 257.7 kB / 0.9574 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.9958, allocations: 51.61 kB / 0.9574 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.9959, allocations: 22.62 kB / 0.9575 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.9961, allocations: 89.5 kB / 0.9575 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.9961, allocations: 35.66 kB / 0.9576 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.9961, allocations: 0 / 0.9576 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004317/0.9966, allocations: 102.6 kB / 0.9577 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.9966, allocations: 52.5 kB / 0.9577 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.9967, allocations: 95.58 kB / 0.9578 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.9967, allocations: 29.64 kB / 0.9578 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.9967, allocations: 89.25 kB / 0.9579 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.9968, allocations: 4.938 kB / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.9968, allocations: 9.719 kB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.9968, allocations: 311.9 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.9969, allocations: 26.2 kB / 0.9583 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.997, allocations: 18.02 kB / 0.9583 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.9972, allocations: 58.06 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9972, allocations: 0 / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002355/0.9975, allocations: 85.88 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.9975, allocations: 6.688 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9975, allocations: 0 / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.9975, allocations: 1.438 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.9976, allocations: 8.156 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.9976, allocations: 3.984 kB / 0.9584 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.9977, allocations: 14.69 kB / 0.9585 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.9977, allocations: 0 / 0.9585 GB, free: 4.52 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 5.478e-05/0.9978, allocations: 116 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.9978, allocations: 1.25 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.998, allocations: 88.11 kB / 0.9586 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9981, allocations: 5.406 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.9981, allocations: 0 / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.9981, allocations: 192 / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.9982, allocations: 161.6 kB / 0.9588 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.9982, allocations: 5.234 kB / 0.9588 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.9983, allocations: 11.52 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.9983, allocations: 1.312 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.9983, allocations: 0 / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.9983, allocations: 1.062 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9983, allocations: 3.938 kB / 0.9588 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.9986, allocations: 177.4 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.9986, allocations: 77.11 kB / 0.9591 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.9986, allocations: 5.031 kB / 0.9591 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.9987, allocations: 10.27 kB / 0.9591 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.9987, allocations: 5.219 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.9988, allocations: 1.156 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.9988, allocations: 90.05 kB / 0.9592 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9988, allocations: 0 / 0.9592 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002469/0.9991, allocations: 10.25 kB / 0.9592 GB, free: 3.77 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.0001915/0.9992, allocations: 116 kB / 0.9593 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.9995, allocations: 42 kB / 0.9593 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9995, allocations: 0 / 0.9593 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.9996, allocations: 28.33 kB / 0.9594 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.9999, allocations: 6.906 kB / 0.9594 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/1, allocations: 107.9 kB / 0.9595 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/1, allocations: 0.676 MB / 0.9601 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.238e-05/1, allocations: 4.969 kB / 0.9601 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/1, allocations: 8.719 kB / 0.9601 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/1, allocations: 0 / 0.9601 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.002914/1.003, allocations: 0.5686 MB / 0.9607 GB, free: 2.523 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