Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001313/0.001313, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001539/0.001539, allocations: 169.4 kB / 24.06 MB, free: 456 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.9285/0.9285, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.065/2.065, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.169e-05, allocations: 6.25 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01669/0.01671, allocations: 19.84 MB / 0.8988 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.03037, allocations: 10.04 MB / 0.9086 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.03246, allocations: 210.4 kB / 0.9088 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.03446, allocations: 0.8568 MB / 0.9096 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.006058/0.04052, allocations: 2.837 MB / 0.9124 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.04401, allocations: 1.829 MB / 0.9142 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.05437, allocations: 8.891 MB / 0.9229 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007375/0.06175, allocations: 5.39 MB / 0.9281 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006086/0.06783, allocations: 5.692 MB / 0.9337 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00449/0.07232, allocations: 3.944 MB / 0.9375 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.07347, allocations: 0.707 MB / 0.9382 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.07463, allocations: 0.7967 MB / 0.939 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.07651, allocations: 3.044 MB / 0.942 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.07861, allocations: 2.374 MB / 0.9443 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.08313, allocations: 5.73 MB / 0.9499 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.08314, allocations: 0 / 0.9499 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.172e-06/0.08314, allocations: 4 kB / 0.9499 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.312e-05/0.08321, allocations: 0 / 0.9499 GB, free: 13.51 MB / 0.9167 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.005772/0.08899, allocations: 6.113 MB / 0.9559 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.08902, allocations: 8.031 kB / 0.9559 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.09254, allocations: 1.639 MB / 0.9575 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/0.09561, allocations: 3.091 MB / 0.9605 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.09579, allocations: 370.4 kB / 0.9608 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004964/0.09628, allocations: 0.5003 MB / 0.9613 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004808/0.1011, allocations: 4.962 MB / 0.9662 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.82e-05/0.1012, allocations: 19.83 kB / 0.9662 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.1015, allocations: 216 kB / 0.9664 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005035/0.102, allocations: 365.7 kB / 0.9668 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.1042, allocations: 1.495 MB / 0.9682 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.1197, allocations: 21.51 MB / 0.9892 GB, free: 3.965 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008293/0.1205, allocations: 0.8051 MB / 0.99 GB, free: 3.148 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.1212, allocations: 0.6892 MB / 0.9907 GB, free: 2.465 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.1213, allocations: 30 kB / 0.9907 GB, free: 2.438 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1213, allocations: 55.39 kB / 0.9908 GB, free: 2.371 MB / 0.948 GB Notification: Performance of pre-optimization done (n=171): time 3.226e-06/0.1213, allocations: 0 / 0.9908 GB, free: 2.371 MB / 0.948 GB Notification: Performance of matching and sorting (n=276): time 0.01291/0.1342, allocations: 7.772 MB / 0.9984 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1343, allocations: 81.58 kB / 0.9984 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.1358, allocations: 1.816 MB / 1 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.1359, allocations: 73.7 kB / 1 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.1369, allocations: 2.431 MB / 1.003 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005572/0.1375, allocations: 1.007 MB / 1.004 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005957/0.1381, allocations: 0.5285 MB / 1.004 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.1382, allocations: 476.8 kB / 1.005 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.1388, allocations: 0.5014 MB / 1.005 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.1402, allocations: 1.393 MB / 1.006 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.1421, allocations: 2.138 MB / 1.009 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.1421, allocations: 8 kB / 1.009 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.005389/0.1475, allocations: 3.821 MB / 1.012 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1475, allocations: 12 kB / 1.012 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002456/0.1477, allocations: 20 kB / 1.012 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005422/0.1531, allocations: 2.522 MB / 1.015 GB, free: 8.867 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/0.1539, allocations: 363.4 kB / 1.015 GB, free: 8.512 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.1707, allocations: 19.5 MB / 1.034 GB, free: 4.324 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.1718, allocations: 83.92 kB / 1.034 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.1719, allocations: 92 kB / 1.034 GB, free: 4.152 MB / 0.9948 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.0008831/0.1728, allocations: 316 kB / 1.035 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.1732, allocations: 398.1 kB / 1.035 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/0.1783, allocations: 3.528 MB / 1.038 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.1784, allocations: 28 kB / 1.038 GB, free: 15.79 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/0.1784, allocations: 32 kB / 1.039 GB, free: 15.76 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.1784, allocations: 15.94 kB / 1.039 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008698/0.1871, allocations: 6.417 MB / 1.045 GB, free: 9.152 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1871, allocations: 4 kB / 1.045 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.1875, allocations: 183.7 kB / 1.045 GB, free: 8.969 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004957/0.1925, allocations: 2.324 MB / 1.047 GB, free: 6.621 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.1926, allocations: 48 kB / 1.047 GB, free: 6.574 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4165/0.6091, allocations: 19.34 MB / 1.066 GB, free: 157.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6091, allocations: 9.094 kB / 1.066 GB, free: 157.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/0.6136, allocations: 3.6 MB / 1.07 GB, free: 156.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/0.6144, allocations: 0.5761 MB / 1.07 GB, free: 156.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.6146, allocations: 59.81 kB / 1.07 GB, free: 156.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.6153, allocations: 56.09 kB / 1.07 GB, free: 156.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/0.6158, allocations: 270.4 kB / 1.071 GB, free: 156.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.6159, allocations: 57.16 kB / 1.071 GB, free: 156.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000683/0.6166, allocations: 0.9844 MB / 1.072 GB, free: 156.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6166, allocations: 0 / 1.072 GB, free: 156.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002724/0.6193, allocations: 1.372 MB / 1.073 GB, free: 156.2 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 (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.0002562/0.6196, allocations: 177.8 kB / 1.073 GB, free: 156.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004179/0.6238, allocations: 4.321 MB / 1.077 GB, free: 154.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.6238, allocations: 2.5 kB / 1.077 GB, free: 154.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.6268, allocations: 3.398 MB / 1.081 GB, free: 153.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.6291, allocations: 1.012 MB / 1.082 GB, free: 153.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6395, allocations: 8.822 MB / 1.09 GB, free: 149.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.6409, allocations: 1.421 MB / 1.092 GB, free: 149.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008742/0.6418, allocations: 342.9 kB / 1.092 GB, free: 149.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.6431, allocations: 0.8615 MB / 1.093 GB, free: 149.4 MB / 1.01 GB Notification: Performance of SimCode: time 8.01e-07/0.6431, allocations: 1.094 kB / 1.093 GB, free: 149.4 MB / 1.01 GB Notification: Performance of Templates: time 0.08356/0.7267, allocations: 81.9 MB / 1.173 GB, free: 113.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.408539945725352]