Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00167/0.00167, allocations: 92.22 kB / 19.65 MB, free: 276 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.002014/0.002014, allocations: 173 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 1/1, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.033/2.033, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.322e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01392/0.01394, allocations: 17.48 MB / 0.8953 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007682/0.02162, allocations: 5.096 MB / 0.9002 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.02356, allocations: 194.5 kB / 0.9004 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.02517, allocations: 0.7523 MB / 0.9012 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.02782, allocations: 1.654 MB / 0.9028 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.03005, allocations: 1.556 MB / 0.9043 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005937/0.03599, allocations: 7.34 MB / 0.9115 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005563/0.04155, allocations: 5.085 MB / 0.9164 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.04695, allocations: 4.573 MB / 0.9209 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004252/0.0512, allocations: 3.527 MB / 0.9243 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.05247, allocations: 0.6445 MB / 0.925 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.05393, allocations: 0.738 MB / 0.9257 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.05597, allocations: 2.759 MB / 0.9284 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003258/0.05923, allocations: 2.031 MB / 0.9304 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.004756/0.06399, allocations: 5.029 MB / 0.9353 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.06399, allocations: 4 kB / 0.9353 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.383e-06/0.064, allocations: 0 / 0.9353 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002299/0.06423, allocations: 0 / 0.9353 GB, free: 11.56 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006176/0.0704, allocations: 5.158 MB / 0.9403 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.07044, allocations: 8.031 kB / 0.9403 GB, free: 6.324 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.07327, allocations: 1.476 MB / 0.9418 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/0.07689, allocations: 2.914 MB / 0.9446 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.07707, allocations: 349.7 kB / 0.945 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004806/0.07755, allocations: 468.2 kB / 0.9454 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006079/0.08363, allocations: 4.78 MB / 0.9501 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-05/0.08372, allocations: 20.02 kB / 0.9501 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.084, allocations: 200.3 kB / 0.9503 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/0.08423, allocations: 320.9 kB / 0.9506 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.08737, allocations: 1.762 MB / 0.9523 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.105, allocations: 25.08 MB / 0.9768 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.1063, allocations: 0.7962 MB / 0.9776 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.1069, allocations: 0.5063 MB / 0.9781 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-05/0.107, allocations: 21.31 kB / 0.9781 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.107, allocations: 50.7 kB / 0.9781 GB, free: 14.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=133): time 3.827e-06/0.107, allocations: 0 / 0.9781 GB, free: 14.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.006165/0.1132, allocations: 3.749 MB / 0.9818 GB, free: 10.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1132, allocations: 64.72 kB / 0.9819 GB, free: 10.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1143, allocations: 1.327 MB / 0.9832 GB, free: 8.969 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.1143, allocations: 49.7 kB / 0.9832 GB, free: 8.914 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.1154, allocations: 2.111 MB / 0.9853 GB, free: 6.785 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.1157, allocations: 0.5075 MB / 0.9858 GB, free: 6.273 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.116, allocations: 356.9 kB / 0.9861 GB, free: 5.918 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.1161, allocations: 484.7 kB / 0.9866 GB, free: 5.441 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.1166, allocations: 319.8 kB / 0.9869 GB, free: 5.129 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/0.1174, allocations: 1.294 MB / 0.9881 GB, free: 3.414 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.1189, allocations: 1.775 MB / 0.9899 GB, free: 1.215 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.1189, allocations: 12 kB / 0.9899 GB, free: 1.203 MB / 0.948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002875/0.1218, allocations: 2.163 MB / 0.992 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1218, allocations: 20.25 kB / 0.992 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.1218, allocations: 20 kB / 0.992 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.1233, allocations: 0.7027 MB / 0.9927 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.124, allocations: 355.3 kB / 0.9931 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.1356, allocations: 23.8 MB / 1.016 GB, free: 4.574 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.1365, allocations: 107.8 kB / 1.016 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.1366, allocations: 88 kB / 1.016 GB, free: 4.383 MB / 0.9792 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0008691/0.1374, allocations: 282 kB / 1.017 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.1377, allocations: 242.8 kB / 1.017 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.1402, allocations: 1.626 MB / 1.019 GB, free: 2.164 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1402, allocations: 16 kB / 1.019 GB, free: 2.148 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.1402, allocations: 8 kB / 1.019 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1402, allocations: 7.969 kB / 1.019 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00574/0.146, allocations: 4.78 MB / 1.023 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.146, allocations: 8.094 kB / 1.023 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.1464, allocations: 183.7 kB / 1.023 GB, free: 13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.1477, allocations: 0.6402 MB / 1.024 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.1478, allocations: 28 kB / 1.024 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.1583, allocations: 22.72 MB / 1.046 GB, free: 4.078 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1583, allocations: 11.92 kB / 1.046 GB, free: 4.066 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.1606, allocations: 1.862 MB / 1.048 GB, free: 2.055 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.1611, allocations: 358.6 kB / 1.048 GB, free: 1.703 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.1613, allocations: 32 kB / 1.048 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.1616, allocations: 71.91 kB / 1.049 GB, free: 1.602 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.1619, allocations: 128.7 kB / 1.049 GB, free: 1.477 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.162, allocations: 36 kB / 1.049 GB, free: 1.441 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007233/0.1627, allocations: 0.7536 MB / 1.049 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.91e-07/0.1627, allocations: 3.938 kB / 1.049 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.3549/0.5176, allocations: 0.7906 MB / 1.05 GB, free: 173.4 MB / 1.01 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000379/0.518, allocations: 144.3 kB / 1.05 GB, free: 173.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.5208, allocations: 3.507 MB / 1.054 GB, free: 171.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5208, allocations: 0.8438 kB / 1.054 GB, free: 171.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.5224, allocations: 2.849 MB / 1.057 GB, free: 169.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.5242, allocations: 0.7149 MB / 1.057 GB, free: 169.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007318/0.5315, allocations: 6.566 MB / 1.064 GB, free: 166.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008964/0.5324, allocations: 1.141 MB / 1.065 GB, free: 166.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000813/0.5332, allocations: 373.3 kB / 1.065 GB, free: 166.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.5334, allocations: 110.8 kB / 1.065 GB, free: 166.2 MB / 1.01 GB Notification: Performance of SimCode: time 2.144e-06/0.5334, allocations: 0 / 1.065 GB, free: 166.2 MB / 1.01 GB Notification: Performance of Templates: time 0.04991/0.5833, allocations: 38.3 MB / 1.103 GB, free: 162.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.311520599760115]