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.001293/0.001293, allocations: 104.9 kB / 16.35 MB, free: 5.824 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.00117/0.001171, allocations: 192.6 kB / 17.29 MB, free: 5.48 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.995/1.995, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.61 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2264, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002524/0.229, allocations: 1.428 MB / 0.9525 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.2295, allocations: 170.3 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.2295, allocations: 4 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.2295, allocations: 4 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.2296, allocations: 3.938 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.2299, allocations: 31.91 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.23, allocations: 23.92 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.2301, allocations: 4 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.2301, allocations: 15.91 kB / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.2302, allocations: 8 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2302, allocations: 0 / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.2303, allocations: 39.91 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.2304, allocations: 11.98 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.2304, allocations: 11.94 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.2305, allocations: 47.88 kB / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2305, allocations: 0 / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2305, allocations: 0 / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2305, allocations: 0 / 0.9529 GB, free: 6.273 MB / 0.7325 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.0004481/0.231, allocations: 351.4 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.231, allocations: 8.031 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.2311, allocations: 0.9375 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2312, allocations: 172.3 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2312, allocations: 384 / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.2312, allocations: 4.312 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.2314, allocations: 50.23 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2314, allocations: 192 / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2314, allocations: 3.938 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2314, allocations: 0 / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.2316, allocations: 35.95 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.2319, allocations: 245 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.232, allocations: 42.44 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.2321, allocations: 28.83 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.2323, allocations: 85.09 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.2323, allocations: 38.56 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2323, allocations: 0 / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003167/0.2326, allocations: 77.64 kB / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.2327, allocations: 55.41 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.2327, allocations: 101.8 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2328, allocations: 29.83 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.2328, allocations: 80.14 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.2328, allocations: 11.83 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.2329, allocations: 13.72 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.233, allocations: 314.8 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.233, allocations: 15.98 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.2331, allocations: 15.98 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2332, allocations: 44.88 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2332, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001762/0.2334, allocations: 65.59 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2334, allocations: 10.03 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2335, allocations: 3.938 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2335, allocations: 192 / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.2336, allocations: 8.031 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2336, allocations: 7.984 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.822e-05/0.2336, allocations: 0 / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2336, allocations: 7.984 kB / 0.9547 GB, free: 4.141 MB / 0.7325 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 6.203e-05/0.2337, allocations: 115.8 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.2337, allocations: 3.906 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.2339, allocations: 76.77 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2339, allocations: 0 / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2339, allocations: 0 / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.234, allocations: 0 / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.2341, allocations: 161.6 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2341, allocations: 0 / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.2342, allocations: 23.92 kB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2342, allocations: 0 / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2342, allocations: 0 / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2342, allocations: 0 / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2342, allocations: 7.969 kB / 0.9551 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.2344, allocations: 159.5 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.2345, allocations: 85.05 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.2345, allocations: 0 / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.2346, allocations: 7.984 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.2346, allocations: 8.031 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2346, allocations: 0 / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.325e-05/0.2347, allocations: 83.27 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2347, allocations: 0 / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002388/0.2349, allocations: 8 kB / 0.9554 GB, free: 3.316 MB / 0.7325 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.0001725/0.2351, allocations: 115.2 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.2353, allocations: 43.91 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2353, allocations: 0 / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.2354, allocations: 15.98 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2356, allocations: 16.83 kB / 0.9556 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.2358, allocations: 105.5 kB / 0.9557 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.236, allocations: 0.6846 MB / 0.9564 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.2361, allocations: 3.984 kB / 0.9564 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.2361, allocations: 7.438 kB / 0.9564 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2361, allocations: 0 / 0.9564 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.002429/0.2385, allocations: 0.6408 MB / 0.957 GB, free: 1.629 MB / 0.7325 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 -s cvode -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