Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001546/0.001546, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001513/0.001513, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9555/0.9555, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.886/1.886, 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.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.534e-05, allocations: 6.891 kB / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01966/0.01967, allocations: 20.37 MB / 0.8314 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.03428, allocations: 10.12 MB / 0.8413 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.03636, allocations: 210.4 kB / 0.8415 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.03827, allocations: 0.8569 MB / 0.8424 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004943/0.04321, allocations: 2.814 MB / 0.8451 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.04612, allocations: 1.817 MB / 0.8469 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00734/0.05346, allocations: 8.914 MB / 0.8556 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005238/0.0587, allocations: 5.387 MB / 0.8609 GB, free: 15.03 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006025/0.06472, allocations: 5.649 MB / 0.8664 GB, free: 9.367 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.06832, allocations: 3.909 MB / 0.8702 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007397/0.06906, allocations: 0.7187 MB / 0.8709 GB, free: 4.73 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.07011, allocations: 0.8006 MB / 0.8717 GB, free: 3.93 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.07188, allocations: 3.063 MB / 0.8747 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.07366, allocations: 2.39 MB / 0.877 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.07762, allocations: 5.757 MB / 0.8826 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.07763, allocations: 0 / 0.8826 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.07763, allocations: 0 / 0.8826 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.635e-05/0.07768, allocations: 0 / 0.8826 GB, free: 8.691 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.00571/0.0834, allocations: 6.16 MB / 0.8886 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.08343, allocations: 8.031 kB / 0.8886 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/0.08706, allocations: 1.811 MB / 0.8904 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/0.09075, allocations: 3.421 MB / 0.8938 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.09093, allocations: 370.4 kB / 0.8941 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000479/0.09141, allocations: 0.5042 MB / 0.8946 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005518/0.09693, allocations: 5.307 MB / 0.8998 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-05/0.09701, allocations: 31.75 kB / 0.8998 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.09732, allocations: 220 kB / 0.9 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005685/0.09789, allocations: 433.6 kB / 0.9004 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.1012, allocations: 1.9 MB / 0.9023 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.1182, allocations: 22.98 MB / 0.9247 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.1193, allocations: 0.9263 MB / 0.9256 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009855/0.1203, allocations: 0.7868 MB / 0.9264 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.1204, allocations: 30 kB / 0.9264 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1204, allocations: 59.39 kB / 0.9265 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=171): time 3.166e-06/0.1204, allocations: 0 / 0.9265 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=276): time 0.01461/0.135, allocations: 9.009 MB / 0.9353 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1351, allocations: 81.58 kB / 0.9354 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.1366, allocations: 1.853 MB / 0.9372 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.1367, allocations: 77.64 kB / 0.9372 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.1377, allocations: 2.408 MB / 0.9396 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005297/0.1382, allocations: 1.007 MB / 0.9406 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006/0.1388, allocations: 0.517 MB / 0.9411 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.1389, allocations: 480.8 kB / 0.9415 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.14, allocations: 0.6577 MB / 0.9422 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.1414, allocations: 1.553 MB / 0.9437 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.1443, allocations: 2.428 MB / 0.9461 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.1443, allocations: 4 kB / 0.9461 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.006684/0.151, allocations: 4.238 MB / 0.9502 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.151, allocations: 12 kB / 0.9502 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.151, allocations: 20.84 kB / 0.9503 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005892/0.1569, allocations: 2.591 MB / 0.9528 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008205/0.1577, allocations: 403.3 kB / 0.9532 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.1769, allocations: 20.47 MB / 0.9732 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.178, allocations: 159.8 kB / 0.9733 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.1782, allocations: 112 kB / 0.9734 GB, free: 8.773 MB / 0.9323 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008148/0.179, allocations: 319.9 kB / 0.9737 GB, free: 8.449 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/0.1794, allocations: 406.1 kB / 0.9741 GB, free: 8.051 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006139/0.1855, allocations: 3.88 MB / 0.9779 GB, free: 4.082 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.1855, allocations: 28 kB / 0.9779 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.1855, allocations: 28 kB / 0.9779 GB, free: 4.027 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.1856, allocations: 19.89 kB / 0.978 GB, free: 4.008 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.1962, allocations: 7.93 MB / 0.9857 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1962, allocations: 4 kB / 0.9857 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.1967, allocations: 231.6 kB / 0.9859 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005185/0.2018, allocations: 2.394 MB / 0.9883 GB, free: 9.242 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.2019, allocations: 52 kB / 0.9883 GB, free: 9.191 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.2204, allocations: 20.38 MB / 1.008 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2204, allocations: 8 kB / 1.008 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005682/0.2261, allocations: 3.908 MB / 1.012 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/0.2269, allocations: 0.6502 MB / 1.013 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.2271, allocations: 55.98 kB / 1.013 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.2279, allocations: 163.8 kB / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/0.2284, allocations: 273.2 kB / 1.013 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.2285, allocations: 72 kB / 1.013 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009844/0.2295, allocations: 1.072 MB / 1.014 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2295, allocations: 0 / 1.014 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002609/0.2321, allocations: 1.375 MB / 1.016 GB, free: 12.24 MB / 0.9792 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002348/0.2323, allocations: 175 kB / 1.016 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005729/0.238, allocations: 4.629 MB / 1.02 GB, free: 7.301 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.238, allocations: 0 / 1.02 GB, free: 7.301 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00364/0.2417, allocations: 3.592 MB / 1.024 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.2439, allocations: 1.003 MB / 1.025 GB, free: 2.617 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.2542, allocations: 8.889 MB / 1.033 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.2555, allocations: 1.42 MB / 1.035 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008839/0.2564, allocations: 462.6 kB / 1.035 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.2567, allocations: 148.5 kB / 1.035 GB, free: 7.523 MB / 0.9948 GB Notification: Performance of SimCode: time 1.102e-06/0.2567, allocations: 0 / 1.035 GB, free: 7.523 MB / 0.9948 GB Notification: Performance of Templates: time 0.3939/0.6506, allocations: 76.65 MB / 1.11 GB, free: 225.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 7.047206201124936]