Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0009479/0.0009479, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009429/0.0009429, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9995/0.9995, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.121/2.121, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 4 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.175e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01589/0.01591, allocations: 18.85 MB / 0.8966 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.0284, allocations: 9.506 MB / 0.9059 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.03051, allocations: 198.4 kB / 0.9061 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.03209, allocations: 0.7831 MB / 0.9068 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.03699, allocations: 2.593 MB / 0.9094 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.03987, allocations: 1.576 MB / 0.9109 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.008782/0.04865, allocations: 7.697 MB / 0.9184 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005449/0.0541, allocations: 4.577 MB / 0.9229 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005356/0.05946, allocations: 4.901 MB / 0.9277 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.06321, allocations: 3.293 MB / 0.9309 GB, free: 84 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0009784/0.06419, allocations: 0.5899 MB / 0.9315 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.06523, allocations: 0.6794 MB / 0.9321 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.0668, allocations: 2.545 MB / 0.9346 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.06914, allocations: 2.004 MB / 0.9366 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.07274, allocations: 4.838 MB / 0.9413 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.07274, allocations: 4 kB / 0.9413 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.422e-06/0.07275, allocations: 4 kB / 0.9413 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.595e-05/0.07279, allocations: 0 / 0.9413 GB, free: 5.395 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005016/0.07781, allocations: 5.281 MB / 0.9465 GB, free: 40 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.07785, allocations: 8.031 kB / 0.9465 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.08073, allocations: 1.499 MB / 0.9479 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.08382, allocations: 2.929 MB / 0.9508 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.08398, allocations: 320.8 kB / 0.9511 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.08438, allocations: 432.3 kB / 0.9515 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004692/0.08907, allocations: 4.556 MB / 0.956 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-05/0.08915, allocations: 35.7 kB / 0.956 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/0.08942, allocations: 184 kB / 0.9562 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006487/0.09007, allocations: 368 kB / 0.9565 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.09275, allocations: 1.625 MB / 0.9581 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.1082, allocations: 21.18 MB / 0.9788 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.1091, allocations: 0.5704 MB / 0.9793 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.1097, allocations: 0.542 MB / 0.9799 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.562e-05/0.1098, allocations: 21.31 kB / 0.9799 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1098, allocations: 58.69 kB / 0.98 GB, free: 12.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=130): time 4.649e-06/0.1098, allocations: 0 / 0.98 GB, free: 12.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=199): time 0.01106/0.1209, allocations: 6.611 MB / 0.9864 GB, free: 5.816 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1209, allocations: 73.41 kB / 0.9865 GB, free: 5.734 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.1223, allocations: 1.7 MB / 0.9881 GB, free: 4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.1224, allocations: 57.7 kB / 0.9882 GB, free: 3.938 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009534/0.1234, allocations: 2.129 MB / 0.9903 GB, free: 1.789 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/0.1238, allocations: 0.7166 MB / 0.991 GB, free: 1.066 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004552/0.1242, allocations: 410.4 kB / 0.9914 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002967/0.1245, allocations: 484.8 kB / 0.9918 GB, free: 184 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007513/0.1253, allocations: 0.5081 MB / 0.9923 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.1265, allocations: 1.335 MB / 0.9936 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.1285, allocations: 2.018 MB / 0.9956 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.1285, allocations: 4 kB / 0.9956 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005075/0.1336, allocations: 3.323 MB / 0.9988 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.1336, allocations: 12 kB / 0.9989 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.1336, allocations: 16 kB / 0.9989 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004251/0.1379, allocations: 1.735 MB / 1.001 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.1387, allocations: 375.4 kB / 1.001 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.16, allocations: 35.84 MB / 1.036 GB, free: 15.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.1614, allocations: 131.9 kB / 1.036 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.1615, allocations: 88 kB / 1.036 GB, free: 15.75 MB / 1.01 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.001175/0.1627, allocations: 300 kB / 1.036 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.163, allocations: 330.4 kB / 1.037 GB, free: 15.12 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.1675, allocations: 2.892 MB / 1.04 GB, free: 12.14 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.1675, allocations: 23.94 kB / 1.04 GB, free: 12.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.809e-05/0.1675, allocations: 16 kB / 1.04 GB, free: 12.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.1675, allocations: 11.95 kB / 1.04 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00869/0.1762, allocations: 6.288 MB / 1.046 GB, free: 5.559 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.1762, allocations: 8 kB / 1.046 GB, free: 5.551 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.1767, allocations: 215.6 kB / 1.046 GB, free: 5.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003953/0.1806, allocations: 1.634 MB / 1.048 GB, free: 3.629 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.775e-05/0.1807, allocations: 40 kB / 1.048 GB, free: 3.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5229/0.7036, allocations: 35.76 MB / 1.083 GB, free: 138 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7036, allocations: 9.188 kB / 1.083 GB, free: 138 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/0.708, allocations: 3.016 MB / 1.085 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/0.7087, allocations: 0.5066 MB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.7089, allocations: 38.12 kB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.7096, allocations: 135.2 kB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/0.7101, allocations: 200.1 kB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/0.7101, allocations: 53.16 kB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009629/0.7111, allocations: 0.981 MB / 1.087 GB, free: 136.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7111, allocations: 0 / 1.087 GB, free: 136.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002513/0.7136, allocations: 1.049 MB / 1.088 GB, free: 136.9 MB / 1.01 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002499/0.7139, allocations: 171.4 kB / 1.089 GB, free: 136.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004368/0.7182, allocations: 5.407 MB / 1.094 GB, free: 133.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7182, allocations: 3.062 kB / 1.094 GB, free: 133.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/0.7211, allocations: 4.575 MB / 1.098 GB, free: 130.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.7232, allocations: 0.9087 MB / 1.099 GB, free: 130.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008987/0.7322, allocations: 7.296 MB / 1.106 GB, free: 127.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.7336, allocations: 1.159 MB / 1.107 GB, free: 127.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00101/0.7346, allocations: 441.1 kB / 1.108 GB, free: 127.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.7349, allocations: 138.2 kB / 1.108 GB, free: 127.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.613e-06/0.7349, allocations: 0 / 1.108 GB, free: 127.1 MB / 1.01 GB Notification: Performance of Templates: time 0.08036/0.8153, allocations: 63.73 MB / 1.17 GB, free: 109.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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: 7.4655459257774055]