Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001063/0.001063, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001279/0.001279, allocations: 161 kB / 23.82 MB, free: 0.75 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.9646/0.9646, allocations: 177.1 MB / 204.2 MB, free: 5.27 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.781/1.781, allocations: 359 MB / 0.6052 GB, free: 11.01 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.99e-05, allocations: 5.703 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01568/0.0157, allocations: 20.37 MB / 0.807 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.02798, allocations: 10.12 MB / 0.8169 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.03023, allocations: 210.4 kB / 0.8171 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.03209, allocations: 0.8645 MB / 0.8179 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.03743, allocations: 2.81 MB / 0.8207 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.04018, allocations: 1.821 MB / 0.8225 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.008333/0.04851, allocations: 8.911 MB / 0.8312 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006652/0.05516, allocations: 5.39 MB / 0.8364 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007268/0.06243, allocations: 5.661 MB / 0.8419 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004183/0.06661, allocations: 3.901 MB / 0.8458 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.06775, allocations: 0.711 MB / 0.8465 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.06917, allocations: 0.8083 MB / 0.8472 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002322/0.0715, allocations: 3.059 MB / 0.8502 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002924/0.07442, allocations: 2.386 MB / 0.8526 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.005554/0.07997, allocations: 5.749 MB / 0.8582 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.07998, allocations: 0 / 0.8582 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.623e-06/0.07998, allocations: 8 kB / 0.8582 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002086/0.08019, allocations: 3.938 kB / 0.8582 GB, free: 3.426 MB / 0.8073 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.007377/0.08757, allocations: 6.164 MB / 0.8642 GB, free: 13.19 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.08761, allocations: 8.031 kB / 0.8642 GB, free: 13.18 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003934/0.09154, allocations: 1.799 MB / 0.866 GB, free: 11.38 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/0.09621, allocations: 3.429 MB / 0.8693 GB, free: 7.863 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.09639, allocations: 370.4 kB / 0.8697 GB, free: 7.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/0.0969, allocations: 0.4964 MB / 0.8702 GB, free: 7.004 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/0.1029, allocations: 5.315 MB / 0.8753 GB, free: 1.164 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.398e-05/0.1029, allocations: 23.77 kB / 0.8754 GB, free: 1.141 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005546/0.1035, allocations: 216 kB / 0.8756 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005669/0.1041, allocations: 441.5 kB / 0.876 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003802/0.1079, allocations: 1.896 MB / 0.8778 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/0.1287, allocations: 22.98 MB / 0.9003 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.1299, allocations: 0.9209 MB / 0.9012 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.1309, allocations: 0.7908 MB / 0.902 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.131, allocations: 29.98 kB / 0.902 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.1311, allocations: 59.39 kB / 0.902 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=171): time 3.466e-06/0.1311, allocations: 0 / 0.902 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of matching and sorting (n=276): time 0.01624/0.1473, allocations: 9.005 MB / 0.9108 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1473, allocations: 85.52 kB / 0.9109 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.1493, allocations: 1.853 MB / 0.9127 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.1494, allocations: 73.7 kB / 0.9128 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.1505, allocations: 2.408 MB / 0.9152 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006073/0.1511, allocations: 1.003 MB / 0.9161 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006073/0.1517, allocations: 0.5132 MB / 0.9166 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1518, allocations: 480.8 kB / 0.9171 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.1528, allocations: 0.6655 MB / 0.9177 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.1545, allocations: 1.546 MB / 0.9193 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.1571, allocations: 2.439 MB / 0.9216 GB, free: 348 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.1571, allocations: 4 kB / 0.9216 GB, free: 344 kB / 0.8698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.00702/0.1642, allocations: 4.235 MB / 0.9258 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.1642, allocations: 12 kB / 0.9258 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.1642, allocations: 20 kB / 0.9258 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/0.1704, allocations: 2.593 MB / 0.9283 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.1713, allocations: 399.4 kB / 0.9287 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/0.1921, allocations: 20.46 MB / 0.9487 GB, free: 3.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.1939, allocations: 167.8 kB / 0.9489 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.194, allocations: 104 kB / 0.949 GB, free: 3.527 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 (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.001188/0.1952, allocations: 334.6 kB / 0.9493 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/0.1957, allocations: 398.1 kB / 0.9497 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006549/0.2023, allocations: 3.872 MB / 0.9534 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.2023, allocations: 24 kB / 0.9535 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-05/0.2023, allocations: 32 kB / 0.9535 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.2023, allocations: 19.88 kB / 0.9535 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.2144, allocations: 7.934 MB / 0.9613 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.2144, allocations: 12.03 kB / 0.9613 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.2149, allocations: 235.6 kB / 0.9615 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005745/0.2206, allocations: 2.402 MB / 0.9638 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.2208, allocations: 48 kB / 0.9639 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.2406, allocations: 20.37 MB / 0.9838 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.2407, allocations: 11.94 kB / 0.9838 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/0.247, allocations: 3.912 MB / 0.9876 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.2481, allocations: 0.6463 MB / 0.9882 GB, free: 9.992 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.2483, allocations: 55.98 kB / 0.9883 GB, free: 9.938 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008748/0.2492, allocations: 171.8 kB / 0.9885 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006178/0.2498, allocations: 269 kB / 0.9887 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.2499, allocations: 76 kB / 0.9888 GB, free: 9.434 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001088/0.251, allocations: 1.068 MB / 0.9898 GB, free: 8.355 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/0.251, allocations: 0 / 0.9898 GB, free: 8.355 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002859/0.2539, allocations: 1.375 MB / 0.9912 GB, free: 6.98 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 (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.0002634/0.2541, allocations: 175 kB / 0.9913 GB, free: 6.801 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006038/0.2602, allocations: 4.621 MB / 0.9959 GB, free: 2.051 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.2602, allocations: 4 kB / 0.9959 GB, free: 2.047 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/0.2643, allocations: 3.591 MB / 0.9994 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.2668, allocations: 1.015 MB / 1 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.2798, allocations: 8.875 MB / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.2814, allocations: 1.416 MB / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001337/0.2827, allocations: 478.5 kB / 1.011 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.283, allocations: 140.5 kB / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of SimCode: time 2.405e-06/0.283, allocations: 0 / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of Templates: time 0.4511/0.7341, allocations: 76.64 MB / 1.086 GB, free: 259.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.191558496560901]