Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001419/0.001419, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001705/0.001705, allocations: 185 kB / 24.09 MB, free: 416 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 0.9308/0.9308, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.716/1.716, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.314e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007009/0.007032, allocations: 6.54 MB / 0.794 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.01041, allocations: 2.202 MB / 0.7961 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005333/0.01095, allocations: 43.69 kB / 0.7962 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006461/0.01159, allocations: 267.5 kB / 0.7964 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.0126, allocations: 0.7073 MB / 0.7971 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.01362, allocations: 0.6546 MB / 0.7977 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.01595, allocations: 3.007 MB / 0.8007 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.01742, allocations: 1.409 MB / 0.8021 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.01938, allocations: 1.739 MB / 0.8038 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.02101, allocations: 1.63 MB / 0.8053 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.02131, allocations: 236 kB / 0.8056 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006143/0.02192, allocations: 335.7 kB / 0.8059 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007563/0.02268, allocations: 1.163 MB / 0.807 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007478/0.02343, allocations: 0.7836 MB / 0.8078 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.02531, allocations: 2.146 MB / 0.8099 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.02532, allocations: 1.844 kB / 0.8099 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.212e-06/0.02532, allocations: 0 / 0.8099 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.898e-05/0.02537, allocations: 0 / 0.8099 GB, free: 5.285 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002595/0.02796, allocations: 2.253 MB / 0.8121 GB, free: 2.988 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.028, allocations: 13.22 kB / 0.8121 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.03209, allocations: 1.288 MB / 0.8134 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.03339, allocations: 1.038 MB / 0.8144 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.03345, allocations: 127.3 kB / 0.8145 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.03366, allocations: 144.3 kB / 0.8146 GB, free: 368 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.03569, allocations: 1.654 MB / 0.8162 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.03572, allocations: 4.188 kB / 0.8162 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.03585, allocations: 68.34 kB / 0.8163 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.03601, allocations: 207 kB / 0.8165 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.03713, allocations: 0.662 MB / 0.8172 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007518/0.04465, allocations: 8.28 MB / 0.8252 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.0454, allocations: 0.5563 MB / 0.8258 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.04589, allocations: 398.3 kB / 0.8262 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.04596, allocations: 21 kB / 0.8262 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.04599, allocations: 46.38 kB / 0.8262 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=104): time 4.799e-06/0.04599, allocations: 3.984 kB / 0.8262 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of matching and sorting (n=183): time 0.01661/0.0626, allocations: 8.215 MB / 0.8343 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.06264, allocations: 73.34 kB / 0.8343 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/0.06348, allocations: 0.8773 MB / 0.8352 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.0636, allocations: 53.7 kB / 0.8352 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.0641, allocations: 0.8743 MB / 0.8361 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004972/0.0646, allocations: 0.6818 MB / 0.8368 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/0.06508, allocations: 365 kB / 0.8371 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004567/0.06554, allocations: 480.7 kB / 0.8376 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.06612, allocations: 359.7 kB / 0.8379 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/0.06696, allocations: 0.8561 MB / 0.8387 GB, free: 7.031 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.06845, allocations: 1.326 MB / 0.84 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.06846, allocations: 4 kB / 0.84 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007681/0.07614, allocations: 4.134 MB / 0.8441 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.07617, allocations: 12.09 kB / 0.8441 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.07618, allocations: 8 kB / 0.8441 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007948/0.08413, allocations: 3.234 MB / 0.8473 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.0846, allocations: 175.7 kB / 0.8474 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/0.1041, allocations: 17.87 MB / 0.8649 GB, free: 11.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.1051, allocations: 44 kB / 0.8649 GB, free: 11.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.1052, allocations: 52 kB / 0.865 GB, free: 11.51 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005286/0.1057, allocations: 256.2 kB / 0.8652 GB, free: 11.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.106, allocations: 203.1 kB / 0.8654 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007359/0.1133, allocations: 4.15 MB / 0.8695 GB, free: 6.859 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.1133, allocations: 20 kB / 0.8695 GB, free: 6.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/0.1134, allocations: 28 kB / 0.8695 GB, free: 6.812 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.1134, allocations: 11.95 kB / 0.8695 GB, free: 6.801 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00973/0.1231, allocations: 6.124 MB / 0.8755 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.1231, allocations: 4 kB / 0.8755 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1234, allocations: 103.8 kB / 0.8756 GB, free: 456 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007455/0.1308, allocations: 3.125 MB / 0.8787 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.1309, allocations: 32 kB / 0.8787 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.1491, allocations: 16.52 MB / 0.8948 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1491, allocations: 4 kB / 0.8948 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007372/0.1565, allocations: 4.129 MB / 0.8989 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007386/0.1572, allocations: 414.8 kB / 0.8993 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.1574, allocations: 40 kB / 0.8993 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.1579, allocations: 39.94 kB / 0.8993 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/0.1585, allocations: 161.6 kB / 0.8995 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.1586, allocations: 40 kB / 0.8995 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003681/0.1589, allocations: 0.5029 MB / 0.9 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1589, allocations: 0 / 0.9 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002341/0.1613, allocations: 1.004 MB / 0.901 GB, free: 5.84 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/0.1615, allocations: 147.1 kB / 0.9011 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003776/0.1653, allocations: 3.037 MB / 0.9041 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1653, allocations: 0 / 0.9041 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003222/0.1685, allocations: 2.578 MB / 0.9066 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.1694, allocations: 232.2 kB / 0.9068 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.1745, allocations: 4.004 MB / 0.9107 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.1751, allocations: 0.635 MB / 0.9114 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.1754, allocations: 107.5 kB / 0.9115 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.1757, allocations: 246.1 kB / 0.9117 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.683e-06/0.1757, allocations: 0 / 0.9117 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.0618/0.2375, allocations: 67.07 MB / 0.9772 GB, free: 7.777 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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: 5.611401986330748]