Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001251/0.001251, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001517/0.001517, allocations: 185 kB / 24.09 MB, free: 416 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.9017/0.9017, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.718/1.718, allocations: 359 MB / 0.6055 GB, free: 10.86 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.951e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01897/0.019, allocations: 16.97 MB / 0.8042 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008255/0.02725, allocations: 5.093 MB / 0.8091 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.02955, allocations: 194.5 kB / 0.8093 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.03123, allocations: 0.7496 MB / 0.81 GB, free: 5.125 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.03435, allocations: 1.655 MB / 0.8117 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.03695, allocations: 1.558 MB / 0.8132 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006592/0.04354, allocations: 7.34 MB / 0.8204 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006255/0.0498, allocations: 5.085 MB / 0.8253 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.05625, allocations: 4.56 MB / 0.8298 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004366/0.06061, allocations: 3.537 MB / 0.8332 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.06179, allocations: 0.6445 MB / 0.8339 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.06325, allocations: 0.7418 MB / 0.8346 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.06538, allocations: 2.764 MB / 0.8373 GB, free: 9.078 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.068, allocations: 2.027 MB / 0.8393 GB, free: 7.047 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.07243, allocations: 5.033 MB / 0.8442 GB, free: 2 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.07244, allocations: 1.062 kB / 0.8442 GB, free: 2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.523e-06/0.07244, allocations: 0 / 0.8442 GB, free: 2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002057/0.07264, allocations: 0 / 0.8442 GB, free: 2 MB / 0.7917 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.005397/0.07804, allocations: 5.165 MB / 0.8492 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.07808, allocations: 8.031 kB / 0.8492 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.08071, allocations: 1.355 MB / 0.8506 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.08368, allocations: 2.683 MB / 0.8532 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.08384, allocations: 353.7 kB / 0.8535 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004619/0.08431, allocations: 464.3 kB / 0.854 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/0.08922, allocations: 4.462 MB / 0.8583 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.249e-05/0.08931, allocations: 27.94 kB / 0.8583 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.08959, allocations: 200.3 kB / 0.8585 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/0.08981, allocations: 320.9 kB / 0.8588 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.09202, allocations: 1.395 MB / 0.8602 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.1102, allocations: 23.98 MB / 0.8836 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008622/0.111, allocations: 0.6858 MB / 0.8843 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.1116, allocations: 450.4 kB / 0.8847 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.1116, allocations: 25.31 kB / 0.8847 GB, free: 7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1117, allocations: 54.7 kB / 0.8848 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=133): time 3.878e-06/0.1117, allocations: 0 / 0.8848 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=136): time 0.00532/0.117, allocations: 3.015 MB / 0.8877 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.117, allocations: 68.72 kB / 0.8878 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/0.1179, allocations: 1.31 MB / 0.8891 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.118, allocations: 49.69 kB / 0.8891 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000853/0.1188, allocations: 2.123 MB / 0.8912 GB, free: 280 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.1192, allocations: 0.5154 MB / 0.8917 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.1195, allocations: 360.9 kB / 0.892 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.1196, allocations: 488.5 kB / 0.8925 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.1199, allocations: 239.8 kB / 0.8927 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.1205, allocations: 1.22 MB / 0.8939 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.1216, allocations: 1.646 MB / 0.8955 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.1217, allocations: 12 kB / 0.8956 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002223/0.1239, allocations: 1.983 MB / 0.8975 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1239, allocations: 12 kB / 0.8975 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.1239, allocations: 24 kB / 0.8975 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.1253, allocations: 0.6835 MB / 0.8982 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.1258, allocations: 307.4 kB / 0.8985 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.1364, allocations: 23.38 MB / 0.9213 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/0.1374, allocations: 60 kB / 0.9214 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.1374, allocations: 75.98 kB / 0.9214 GB, free: 14.96 MB / 0.8855 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.0008984/0.1383, allocations: 289.9 kB / 0.9217 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.1386, allocations: 242.7 kB / 0.922 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.1403, allocations: 1.477 MB / 0.9234 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.1403, allocations: 15.94 kB / 0.9234 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1403, allocations: 8 kB / 0.9234 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.1403, allocations: 3.984 kB / 0.9234 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/0.1457, allocations: 3.673 MB / 0.927 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1457, allocations: 4 kB / 0.927 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.1461, allocations: 139.8 kB / 0.9271 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.1473, allocations: 0.6212 MB / 0.9278 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.1473, allocations: 36 kB / 0.9278 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009754/0.1571, allocations: 22.33 MB / 0.9496 GB, free: 476 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.1571, allocations: 7.938 kB / 0.9496 GB, free: 468 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.1593, allocations: 1.729 MB / 0.9513 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.1598, allocations: 322.6 kB / 0.9516 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.1599, allocations: 27.95 kB / 0.9516 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.1602, allocations: 31.94 kB / 0.9517 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.1605, allocations: 132.6 kB / 0.9518 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.1605, allocations: 32 kB / 0.9518 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005204/0.161, allocations: 0.6986 MB / 0.9525 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.161, allocations: 0 / 0.9525 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002074/0.1631, allocations: 0.8008 MB / 0.9533 GB, free: 12.55 MB / 0.9167 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.0001782/0.1633, allocations: 139 kB / 0.9534 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00249/0.1658, allocations: 3.388 MB / 0.9567 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1658, allocations: 0 / 0.9567 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.1674, allocations: 2.808 MB / 0.9595 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.169, allocations: 0.7101 MB / 0.9602 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/0.1772, allocations: 6.575 MB / 0.9666 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/0.1781, allocations: 1.128 MB / 0.9677 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008426/0.179, allocations: 241.5 kB / 0.9679 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007383/0.1797, allocations: 0.5682 MB / 0.9685 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of SimCode: time 1.613e-06/0.1797, allocations: 0 / 0.9685 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of Templates: time 0.04877/0.2285, allocations: 38.96 MB / 1.007 GB, free: 6.195 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.398690263740718]