Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 80.41 kB / 20.23 MB, free: 4.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 161.3 kB / 23.54 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.867/2.867, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.152e-05, allocations: 6.938 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002742/0.002774, allocations: 1.464 MB / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004406/0.003214, allocations: 144.1 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.003237, allocations: 1.094 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.003267, allocations: 3.938 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.003314, allocations: 9.531 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.003642, allocations: 31.91 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.003707, allocations: 23.92 kB / 0.8124 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.15e-05/0.003779, allocations: 7.984 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.003817, allocations: 12.64 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.003852, allocations: 11.92 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.003863, allocations: 0.625 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.003993, allocations: 43.84 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.004007, allocations: 8.969 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.004032, allocations: 4 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.004176, allocations: 56.61 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004178, allocations: 0 / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004179, allocations: 2.406 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004183, allocations: 0 / 0.8126 GB, free: 280 kB / 0.7605 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.0004857/0.004669, allocations: 270.3 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.004701, allocations: 8.031 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.004778, allocations: 12.83 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.004888, allocations: 101.8 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.004904, allocations: 9.438 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.004912, allocations: 384 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.005095, allocations: 51.23 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005104, allocations: 192 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.005113, allocations: 384 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.005116, allocations: 1.312 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.005318, allocations: 41.23 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.005629, allocations: 192.5 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.005772, allocations: 40.53 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.005866, allocations: 20.91 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.00601, allocations: 7.984 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.006049, allocations: 36.25 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.00605, allocations: 0 / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004178/0.006467, allocations: 94.38 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.006592, allocations: 51.41 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.006681, allocations: 98.39 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.006711, allocations: 30.31 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.006769, allocations: 84.14 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.006784, allocations: 4.484 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.006824, allocations: 18.97 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.006986, allocations: 314.8 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/0.007085, allocations: 11.98 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.007168, allocations: 25.88 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.007329, allocations: 33.98 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007331, allocations: 0 / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002389/0.00757, allocations: 70.44 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.007585, allocations: 4.844 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.007594, allocations: 8.125 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.007611, allocations: 0 / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.007696, allocations: 9.266 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007701, allocations: 0 / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.007753, allocations: 8.828 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.007758, allocations: 0 / 0.8142 GB, free: 14.49 MB / 0.7761 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 9.431e-05/0.007853, allocations: 119 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.007896, allocations: 3.953 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.00816, allocations: 86.2 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.008162, allocations: 0 / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.008165, allocations: 0 / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.008167, allocations: 1.5 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.008318, allocations: 101.3 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008319, allocations: 0 / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.008378, allocations: 10.84 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.008383, allocations: 3.984 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.008389, allocations: 0 / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.008395, allocations: 3.938 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008395, allocations: 0 / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.008688, allocations: 163.5 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.008697, allocations: 4.438 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.008713, allocations: 4.5 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.008797, allocations: 9.25 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.008842, allocations: 11.92 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.008845, allocations: 0 / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.537e-05/0.00891, allocations: 83.28 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00891, allocations: 0.875 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002511/0.009162, allocations: 8 kB / 0.8148 GB, free: 13.84 MB / 0.7761 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.0002015/0.009363, allocations: 117.4 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.009586, allocations: 37.23 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009587, allocations: 0 / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.009681, allocations: 22.77 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.009963, allocations: 5.688 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.01027, allocations: 112.5 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.581e-05/0.01033, allocations: 63.34 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.01035, allocations: 2.719 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.01038, allocations: 8.5 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01038, allocations: 0 / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.00349/0.01387, allocations: 0.6833 MB / 0.8158 GB, free: 12.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.607504114042968]