Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001429/0.001429, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001796/0.001796, allocations: 169 kB / 24.28 MB, free: 272 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.963/0.963, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.879/1.879, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.431e-05, allocations: 4.844 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02689/0.02692, allocations: 22.7 MB / 0.8337 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008509/0.03543, allocations: 6.326 MB / 0.8399 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.0371, allocations: 124.3 kB / 0.84 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.03951, allocations: 1.607 MB / 0.8416 GB, free: 3.254 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.04356, allocations: 1.771 MB / 0.8433 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.04646, allocations: 1.37 MB / 0.8447 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00607/0.05253, allocations: 6.036 MB / 0.8505 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.0568, allocations: 3.225 MB / 0.8537 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004883/0.06168, allocations: 3.462 MB / 0.8571 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.06549, allocations: 2.884 MB / 0.8599 GB, free: 400 kB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007138/0.0662, allocations: 460 kB / 0.8603 GB, free: 15.94 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.06808, allocations: 1.053 MB / 0.8614 GB, free: 14.89 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.07002, allocations: 2.222 MB / 0.8635 GB, free: 12.66 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.072, allocations: 1.516 MB / 0.865 GB, free: 11.14 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004478/0.07648, allocations: 4.172 MB / 0.8691 GB, free: 6.957 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.07649, allocations: 0 / 0.8691 GB, free: 6.957 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.435e-06/0.07649, allocations: 0 / 0.8691 GB, free: 6.957 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001037/0.07659, allocations: 0 / 0.8691 GB, free: 6.957 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.004612/0.0812, allocations: 4.078 MB / 0.8731 GB, free: 2.824 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.08125, allocations: 12.03 kB / 0.8731 GB, free: 2.812 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/0.08518, allocations: 1.656 MB / 0.8747 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.0887, allocations: 2.226 MB / 0.8769 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.08887, allocations: 246.3 kB / 0.8771 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000688/0.08955, allocations: 315.9 kB / 0.8774 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/0.09545, allocations: 3.598 MB / 0.8809 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-05/0.09552, allocations: 11.88 kB / 0.8809 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/0.09584, allocations: 144 kB / 0.8811 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004518/0.09629, allocations: 406.3 kB / 0.8815 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.1001, allocations: 1.361 MB / 0.8828 GB, free: 8.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/0.1203, allocations: 19.96 MB / 0.9023 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009335/0.1212, allocations: 491.5 kB / 0.9027 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009188/0.1222, allocations: 0.5186 MB / 0.9033 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.1222, allocations: 17 kB / 0.9033 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1223, allocations: 50.39 kB / 0.9033 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.208e-06/0.1223, allocations: 0 / 0.9033 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179): time 0.0232/0.1455, allocations: 9.535 MB / 0.9126 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1455, allocations: 73.41 kB / 0.9127 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.1469, allocations: 1.25 MB / 0.9139 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.1471, allocations: 53.7 kB / 0.914 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009257/0.148, allocations: 1.644 MB / 0.9156 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/0.1486, allocations: 0.6508 MB / 0.9162 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005871/0.1492, allocations: 369.1 kB / 0.9166 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1493, allocations: 480.7 kB / 0.917 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.1504, allocations: 0.492 MB / 0.9175 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.1518, allocations: 1.301 MB / 0.9188 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.1544, allocations: 1.979 MB / 0.9207 GB, free: 192 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.1544, allocations: 8 kB / 0.9207 GB, free: 184 kB / 0.8698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01245/0.1669, allocations: 4.798 MB / 0.9254 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.1669, allocations: 14.84 kB / 0.9254 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.167, allocations: 20 kB / 0.9254 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01262/0.1796, allocations: 3.254 MB / 0.9286 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.1807, allocations: 303.5 kB / 0.9289 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.2009, allocations: 18.41 MB / 0.9469 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.2023, allocations: 143.8 kB / 0.947 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.2024, allocations: 87.98 kB / 0.9471 GB, free: 4.359 MB / 0.9011 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008547/0.2033, allocations: 280 kB / 0.9474 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.2036, allocations: 250.8 kB / 0.9476 GB, free: 3.828 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008026/0.2117, allocations: 4.613 MB / 0.9521 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.2117, allocations: 27.92 kB / 0.9521 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.892e-05/0.2117, allocations: 24 kB / 0.9522 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.2118, allocations: 7.969 kB / 0.9522 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.224, allocations: 7.647 MB / 0.9596 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.224, allocations: 8 kB / 0.9596 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.2245, allocations: 167.8 kB / 0.9598 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007924/0.2324, allocations: 3.139 MB / 0.9629 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.2326, allocations: 40 kB / 0.9629 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.252, allocations: 18.35 MB / 0.9808 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.252, allocations: 8 kB / 0.9808 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008964/0.261, allocations: 4.72 MB / 0.9855 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.2621, allocations: 0.4907 MB / 0.9859 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.2624, allocations: 43.98 kB / 0.986 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.2631, allocations: 131.8 kB / 0.9861 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007167/0.2639, allocations: 188.6 kB / 0.9863 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.462e-05/0.264, allocations: 52 kB / 0.9863 GB, free: 11.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007843/0.2647, allocations: 0.718 MB / 0.987 GB, free: 10.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2647, allocations: 0 / 0.987 GB, free: 10.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002731/0.2675, allocations: 1.117 MB / 0.9881 GB, free: 9.176 MB / 0.948 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/0.2677, allocations: 147 kB / 0.9883 GB, free: 9.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006282/0.274, allocations: 4.229 MB / 0.9924 GB, free: 4.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.274, allocations: 0 / 0.9924 GB, free: 4.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.2788, allocations: 3.395 MB / 0.9957 GB, free: 1.176 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.2805, allocations: 0.5058 MB / 0.9962 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009407/0.2899, allocations: 5.977 MB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.291, allocations: 0.9994 MB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007134/0.2917, allocations: 315.7 kB / 1.003 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.2919, allocations: 96.5 kB / 1.003 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of SimCode: time 1.693e-06/0.2919, allocations: 0 / 1.003 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of Templates: time 0.3697/0.6616, allocations: 65.41 MB / 1.067 GB, free: 270.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.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.376746674999595]