Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001241/0.001241, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001062/0.001062, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.438/2.438, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.706e-05, allocations: 5.125 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03855/0.03858, allocations: 19.5 MB / 0.8576 GB, free: 10.64 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01752/0.0561, allocations: 5.754 MB / 0.8633 GB, free: 4.871 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.06016, allocations: 190.6 kB / 0.8634 GB, free: 4.684 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.0633, allocations: 0.8377 MB / 0.8643 GB, free: 3.84 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005815/0.06911, allocations: 1.852 MB / 0.8661 GB, free: 1.977 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.07314, allocations: 1.665 MB / 0.8677 GB, free: 316 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.0836, allocations: 8.012 MB / 0.8755 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.09384, allocations: 5.538 MB / 0.8809 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.1045, allocations: 4.869 MB / 0.8857 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007475/0.112, allocations: 3.632 MB / 0.8892 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.1137, allocations: 0.6758 MB / 0.8899 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.1155, allocations: 0.7615 MB / 0.8906 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002703/0.1182, allocations: 2.837 MB / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.003718/0.122, allocations: 2.175 MB / 0.8955 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006143/0.1281, allocations: 5.333 MB / 0.9007 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1281, allocations: 0 / 0.9007 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1281, allocations: 0 / 0.9007 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002454/0.1284, allocations: 0 / 0.9007 GB, free: 14.25 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.006734/0.1351, allocations: 5.122 MB / 0.9057 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1351, allocations: 8.625 kB / 0.9057 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.1375, allocations: 1.167 MB / 0.9069 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.1408, allocations: 2.478 MB / 0.9093 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.141, allocations: 357.9 kB / 0.9096 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004964/0.1415, allocations: 496.2 kB / 0.9101 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004997/0.1464, allocations: 4.885 MB / 0.9149 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.324e-05/0.1465, allocations: 23.98 kB / 0.9149 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.1468, allocations: 208.3 kB / 0.9151 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003241/0.1472, allocations: 373 kB / 0.9155 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.1492, allocations: 1.292 MB / 0.9167 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.1653, allocations: 18.73 MB / 0.935 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1663, allocations: 0.7642 MB / 0.9358 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.1668, allocations: 482.2 kB / 0.9362 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.1669, allocations: 33.31 kB / 0.9363 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.1669, allocations: 55.86 kB / 0.9363 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=157): time 4.429e-06/0.1669, allocations: 0 / 0.9363 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of matching and sorting (n=160): time 0.004925/0.1719, allocations: 2.766 MB / 0.939 GB, free: 5.609 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1719, allocations: 72.66 kB / 0.9391 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009881/0.1729, allocations: 1.458 MB / 0.9405 GB, free: 4.027 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.1729, allocations: 53.7 kB / 0.9406 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008528/0.1738, allocations: 1.936 MB / 0.9425 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.1741, allocations: 0.577 MB / 0.943 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/0.1744, allocations: 387.8 kB / 0.9434 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.1745, allocations: 305.1 kB / 0.9437 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.1748, allocations: 232.3 kB / 0.9439 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.1754, allocations: 0.9438 MB / 0.9448 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.1764, allocations: 1.419 MB / 0.9462 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.1764, allocations: 8 kB / 0.9462 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.001981/0.1784, allocations: 1.762 MB / 0.9479 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.1784, allocations: 16 kB / 0.9479 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.1784, allocations: 23.98 kB / 0.948 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.1799, allocations: 0.7029 MB / 0.9487 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.1806, allocations: 375.4 kB / 0.949 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008371/0.189, allocations: 16.11 MB / 0.9647 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.1901, allocations: 72.06 kB / 0.9648 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.1902, allocations: 76 kB / 0.9649 GB, free: 9.102 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.0009214/0.1911, allocations: 264 kB / 0.9651 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.1914, allocations: 215.6 kB / 0.9653 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.193, allocations: 1.359 MB / 0.9667 GB, free: 7.199 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1931, allocations: 16 kB / 0.9667 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.1931, allocations: 16 kB / 0.9667 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.1931, allocations: 7.969 kB / 0.9667 GB, free: 7.16 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004985/0.1981, allocations: 3.105 MB / 0.9697 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1981, allocations: 4.562 kB / 0.9697 GB, free: 3.918 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.1985, allocations: 175.7 kB / 0.9699 GB, free: 3.746 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.1998, allocations: 0.6678 MB / 0.9706 GB, free: 3.027 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.1998, allocations: 35.98 kB / 0.9706 GB, free: 2.992 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008745/0.2086, allocations: 16.09 MB / 0.9863 GB, free: 1.727 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.2086, allocations: 11.94 kB / 0.9863 GB, free: 1.715 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.2106, allocations: 1.513 MB / 0.9878 GB, free: 72 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/0.2111, allocations: 330.3 kB / 0.9881 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.2113, allocations: 35.98 kB / 0.9882 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.2117, allocations: 32 kB / 0.9882 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.212, allocations: 148.9 kB / 0.9883 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.212, allocations: 40 kB / 0.9884 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005631/0.2126, allocations: 0.7108 MB / 0.9891 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.2126, allocations: 0 / 0.9891 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002445/0.215, allocations: 0.9023 MB / 0.9899 GB, free: 13.86 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002166/0.2153, allocations: 132.2 kB / 0.9901 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.2179, allocations: 2.805 MB / 0.9928 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.72e-05/0.218, allocations: 38.06 kB / 0.9928 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.2198, allocations: 2.213 MB / 0.995 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.2216, allocations: 0.7666 MB / 0.9958 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009332/0.2309, allocations: 7.272 MB / 1.003 GB, free: 200 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.2322, allocations: 1.169 MB / 1.004 GB, free: 15 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009367/0.2332, allocations: 300.8 kB / 1.004 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.2342, allocations: 0.6474 MB / 1.005 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of SimCode: time 2.655e-06/0.2342, allocations: 0 / 1.005 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of Templates: time 0.05975/0.2939, allocations: 45.32 MB / 1.049 GB, free: 1.691 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.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.96805310389027]