Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001344/0.001344, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.001593/0.001593, allocations: 161 kB / 23.82 MB, free: 0.7695 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 0.9066/0.9066, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 1.857/1.857, allocations: 377.8 MB / 0.6236 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] 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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8116 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.284e-05, allocations: 3.062 kB / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.016/0.01603, allocations: 14.04 MB / 0.8253 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008607/0.02463, allocations: 4.145 MB / 0.8293 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.02619, allocations: 127.1 kB / 0.8294 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.02754, allocations: 0.5745 MB / 0.83 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.03065, allocations: 1.725 MB / 0.8317 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.03294, allocations: 1.22 MB / 0.8329 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005667/0.0386, allocations: 6.926 MB / 0.8396 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003711/0.04231, allocations: 3.604 MB / 0.8432 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.04613, allocations: 4 MB / 0.8471 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.05034, allocations: 3.569 MB / 0.8506 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.05136, allocations: 0.5273 MB / 0.8511 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.05253, allocations: 0.6715 MB / 0.8517 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.05421, allocations: 2.697 MB / 0.8544 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.05554, allocations: 1.762 MB / 0.8561 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.05867, allocations: 4.585 MB / 0.8606 GB, free: 15.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.05868, allocations: 3.984 kB / 0.8606 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.82e-07/0.05868, allocations: 0 / 0.8606 GB, free: 15.38 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.605e-05/0.05871, allocations: 4 kB / 0.8606 GB, free: 15.38 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004672/0.06338, allocations: 4.664 MB / 0.8651 GB, free: 10.65 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.06342, allocations: 8.031 kB / 0.8651 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.06804, allocations: 2.167 MB / 0.8672 GB, free: 8.473 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.07052, allocations: 2.491 MB / 0.8697 GB, free: 5.934 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.07065, allocations: 279.6 kB / 0.8699 GB, free: 5.66 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.07102, allocations: 360.3 kB / 0.8703 GB, free: 5.309 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004824/0.07584, allocations: 4.132 MB / 0.8743 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.0759, allocations: 16.06 kB / 0.8743 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.07616, allocations: 156.3 kB / 0.8745 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003467/0.07651, allocations: 491.3 kB / 0.875 GB, free: 128 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.07921, allocations: 1.598 MB / 0.8765 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.09462, allocations: 21.27 MB / 0.8973 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/0.0956, allocations: 0.7745 MB / 0.898 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.09661, allocations: 0.8341 MB / 0.8989 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.95e-05/0.09671, allocations: 29.31 kB / 0.8989 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.09674, allocations: 46.7 kB / 0.8989 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 2.936e-06/0.09674, allocations: 0 / 0.8989 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.03299/0.1297, allocations: 17.03 MB / 0.9156 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1298, allocations: 81.39 kB / 0.9156 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.1309, allocations: 1.441 MB / 0.917 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.1311, allocations: 61.7 kB / 0.9171 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008157/0.1319, allocations: 1.873 MB / 0.9189 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/0.1325, allocations: 0.9025 MB / 0.9198 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/0.1331, allocations: 455.9 kB / 0.9203 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1332, allocations: 480.7 kB / 0.9207 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.1344, allocations: 0.7274 MB / 0.9214 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.1361, allocations: 1.572 MB / 0.923 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.139, allocations: 2.526 MB / 0.9254 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.139, allocations: 4 kB / 0.9254 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01781/0.1569, allocations: 8.585 MB / 0.9338 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.1569, allocations: 12 kB / 0.9338 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.1569, allocations: 16 kB / 0.9338 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01613/0.173, allocations: 6.92 MB / 0.9406 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.1738, allocations: 303.5 kB / 0.9409 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03225/0.206, allocations: 25.53 MB / 0.9658 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.2077, allocations: 219.7 kB / 0.966 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.2079, allocations: 99.98 kB / 0.9661 GB, free: 0.5742 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001079/0.209, allocations: 308 kB / 0.9664 GB, free: 268 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.2095, allocations: 330.6 kB / 0.9667 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/0.2243, allocations: 8.615 MB / 0.9751 GB, free: 7.262 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.2243, allocations: 27.94 kB / 0.9752 GB, free: 7.234 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001241/0.2245, allocations: 47.94 kB / 0.9752 GB, free: 7.188 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/0.2245, allocations: 11.95 kB / 0.9752 GB, free: 7.176 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/0.2454, allocations: 12.4 MB / 0.9873 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.2454, allocations: 4 kB / 0.9873 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.2458, allocations: 159.8 kB / 0.9875 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01645/0.2623, allocations: 6.743 MB / 0.9941 GB, free: 3.621 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003868/0.2627, allocations: 48 kB / 0.9941 GB, free: 3.574 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0318/0.2945, allocations: 25.42 MB / 1.019 GB, free: 9.402 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.2945, allocations: 8 kB / 1.019 GB, free: 9.395 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.3099, allocations: 8.546 MB / 1.027 GB, free: 0.6758 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.3113, allocations: 0.709 MB / 1.028 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.3116, allocations: 51.98 kB / 1.028 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.3127, allocations: 211.7 kB / 1.028 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001062/0.3137, allocations: 257.3 kB / 1.028 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.3139, allocations: 67.98 kB / 1.029 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001057/0.3149, allocations: 0.8298 MB / 1.029 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3149, allocations: 0 / 1.029 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004116/0.3191, allocations: 1.613 MB / 1.031 GB, free: 12.96 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003721/0.3194, allocations: 174 kB / 1.031 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01421/0.3336, allocations: 6.774 MB / 1.038 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.3336, allocations: 0 / 1.038 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01192/0.3456, allocations: 5.567 MB / 1.043 GB, free: 228 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.3481, allocations: 0.5417 MB / 1.044 GB, free: 15.69 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.362, allocations: 7.502 MB / 1.051 GB, free: 8.039 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.3636, allocations: 1.289 MB / 1.052 GB, free: 6.719 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007616/0.3644, allocations: 326.8 kB / 1.053 GB, free: 6.395 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3645, allocations: 100.4 kB / 1.053 GB, free: 6.297 MB / 1.01 GB Notification: Performance of SimCode: time 2.264e-06/0.3645, allocations: 0 / 1.053 GB, free: 6.297 MB / 1.01 GB Notification: Performance of Templates: time 0.3989/0.7635, allocations: 101.6 MB / 1.152 GB, free: 207.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.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: 6.982151170261204]