Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001409/0.001409, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001757/0.001757, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.932/1.932, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.374e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004792/0.004816, allocations: 4.783 MB / 0.7647 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.007915, allocations: 1.738 MB / 0.7664 GB, free: 72 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.008525, allocations: 35.69 kB / 0.7665 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.009355, allocations: 211 kB / 0.7667 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.01036, allocations: 449.9 kB / 0.7671 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009356/0.0113, allocations: 375.9 kB / 0.7674 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.01267, allocations: 1.271 MB / 0.7687 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000718/0.01339, allocations: 0.582 MB / 0.7693 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007606/0.01415, allocations: 0.6625 MB / 0.7699 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006324/0.01479, allocations: 481.4 kB / 0.7704 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.01487, allocations: 68 kB / 0.7704 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.01517, allocations: 143.8 kB / 0.7706 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.0154, allocations: 331 kB / 0.7709 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.01562, allocations: 311.3 kB / 0.7712 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.01642, allocations: 0.7357 MB / 0.7719 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01642, allocations: 0 / 0.7719 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01643, allocations: 4.875 kB / 0.7719 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.01644, allocations: 0 / 0.7719 GB, free: 10.45 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001059/0.0175, allocations: 1.025 MB / 0.7729 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01754, allocations: 11.97 kB / 0.7729 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008424/0.01838, allocations: 271.4 kB / 0.7732 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.01895, allocations: 0.4891 MB / 0.7737 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.01899, allocations: 50.3 kB / 0.7737 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/0.01906, allocations: 68.36 kB / 0.7738 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.01979, allocations: 0.9529 MB / 0.7747 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.01981, allocations: 9.625 kB / 0.7747 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.01986, allocations: 32.36 kB / 0.7747 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.01996, allocations: 89.19 kB / 0.7748 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.02027, allocations: 253.5 kB / 0.7751 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.02285, allocations: 3.924 MB / 0.7789 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.02323, allocations: 273.1 kB / 0.7792 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.02335, allocations: 101 kB / 0.7792 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.02338, allocations: 10.44 kB / 0.7793 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.02341, allocations: 39.06 kB / 0.7793 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 1.934e-06/0.02341, allocations: 0 / 0.7793 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001458/0.02487, allocations: 0.81 MB / 0.7801 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.02489, allocations: 55.91 kB / 0.7801 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.02518, allocations: 471.9 kB / 0.7806 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.02521, allocations: 33.7 kB / 0.7806 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.02536, allocations: 376.8 kB / 0.781 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/0.02544, allocations: 183 kB / 0.7812 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.02557, allocations: 124.3 kB / 0.7813 GB, free: 448 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.02566, allocations: 370.7 kB / 0.7816 GB, free: 68 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.02577, allocations: 74.02 kB / 0.7817 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.02597, allocations: 296.9 kB / 0.782 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.02632, allocations: 448.6 kB / 0.7824 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.02633, allocations: 0 / 0.7824 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006527/0.02698, allocations: 0.5542 MB / 0.783 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.027, allocations: 11.94 kB / 0.783 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.02701, allocations: 8.625 kB / 0.783 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/0.02769, allocations: 295 kB / 0.7833 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.02795, allocations: 115.8 kB / 0.7834 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.03116, allocations: 5.32 MB / 0.7886 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.03144, allocations: 21.03 kB / 0.7886 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.03147, allocations: 24 kB / 0.7886 GB, free: 8.348 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.03165, allocations: 162.3 kB / 0.7888 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.03173, allocations: 59.94 kB / 0.7888 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.03229, allocations: 449.1 kB / 0.7892 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.0323, allocations: 5.219 kB / 0.7892 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0323, allocations: 7.938 kB / 0.7893 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.03231, allocations: 3.984 kB / 0.7893 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.03335, allocations: 0.8751 MB / 0.7901 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.03335, allocations: 1.156 kB / 0.7901 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.03348, allocations: 51.91 kB / 0.7902 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006008/0.03408, allocations: 278.5 kB / 0.7904 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.0341, allocations: 12.59 kB / 0.7904 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.03697, allocations: 5.305 MB / 0.7956 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.03697, allocations: 11.88 kB / 0.7956 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.03755, allocations: 0.5824 MB / 0.7962 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.03769, allocations: 88.47 kB / 0.7963 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.03773, allocations: 8 kB / 0.7963 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.03788, allocations: 12.53 kB / 0.7963 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.03797, allocations: 48.11 kB / 0.7964 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.03799, allocations: 13.03 kB / 0.7964 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000138/0.03813, allocations: 204.4 kB / 0.7966 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.21e-07/0.03813, allocations: 0 / 0.7966 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005659/0.03869, allocations: 220.9 kB / 0.7968 GB, free: 15.46 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001254/0.03882, allocations: 99.41 kB / 0.7969 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008589/0.03968, allocations: 0.8946 MB / 0.7977 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.03969, allocations: 13.41 kB / 0.7978 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.04021, allocations: 0.7145 MB / 0.7984 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.04071, allocations: 196.2 kB / 0.7986 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.04246, allocations: 1.28 MB / 0.7999 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.04261, allocations: 219 kB / 0.8001 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.04282, allocations: 69.5 kB / 0.8002 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.04313, allocations: 205.2 kB / 0.8004 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of SimCode: time 1.011e-06/0.04313, allocations: 0 / 0.8004 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of Templates: time 0.01482/0.05795, allocations: 12.08 MB / 0.8121 GB, free: 15.79 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3185114888474345]