Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001349/0.001349, 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.001125/0.001125, 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.9645/0.9645, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.721/1.721, 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 4 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.517e-05, allocations: 5.641 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01448/0.0145, allocations: 18.85 MB / 0.8055 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.02656, allocations: 9.512 MB / 0.8148 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.02851, allocations: 198.5 kB / 0.815 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.03004, allocations: 0.7753 MB / 0.8157 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.03451, allocations: 2.574 MB / 0.8183 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.03722, allocations: 1.583 MB / 0.8198 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007586/0.04481, allocations: 7.697 MB / 0.8273 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005391/0.0502, allocations: 4.581 MB / 0.8318 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.05603, allocations: 4.881 MB / 0.8366 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003839/0.05986, allocations: 3.254 MB / 0.8397 GB, free: 6.352 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0007891/0.06065, allocations: 0.5898 MB / 0.8403 GB, free: 5.762 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.0618, allocations: 0.6872 MB / 0.841 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.06366, allocations: 2.56 MB / 0.8435 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.06535, allocations: 2.019 MB / 0.8455 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.06936, allocations: 4.857 MB / 0.8502 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.06937, allocations: 0 / 0.8502 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.593e-06/0.06937, allocations: 0 / 0.8502 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.85e-05/0.06944, allocations: 0 / 0.8502 GB, free: 11.61 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005004/0.07444, allocations: 5.296 MB / 0.8554 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.07449, allocations: 12.03 kB / 0.8554 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.07796, allocations: 1.562 MB / 0.8569 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/0.08123, allocations: 3.008 MB / 0.8599 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.08139, allocations: 316.8 kB / 0.8602 GB, free: 1.254 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/0.08181, allocations: 428.3 kB / 0.8606 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/0.08698, allocations: 4.556 MB / 0.865 GB, free: 11.78 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-05/0.08705, allocations: 23.77 kB / 0.865 GB, free: 11.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.08733, allocations: 184 kB / 0.8652 GB, free: 11.57 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004605/0.08779, allocations: 372 kB / 0.8656 GB, free: 11.21 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.09062, allocations: 1.633 MB / 0.8672 GB, free: 9.551 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.107, allocations: 21.17 MB / 0.8878 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.1078, allocations: 0.5743 MB / 0.8884 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.1085, allocations: 0.5225 MB / 0.8889 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-05/0.1085, allocations: 29.31 kB / 0.8889 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1086, allocations: 50.64 kB / 0.889 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=130): time 2.735e-06/0.1086, allocations: 8 kB / 0.889 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=199): time 0.01104/0.1196, allocations: 6.611 MB / 0.8954 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1196, allocations: 73.41 kB / 0.8955 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.121, allocations: 1.699 MB / 0.8972 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.1211, allocations: 57.7 kB / 0.8972 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.1222, allocations: 2.129 MB / 0.8993 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.1226, allocations: 0.7244 MB / 0.9 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/0.1231, allocations: 414.4 kB / 0.9004 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.1232, allocations: 480.8 kB / 0.9009 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.1239, allocations: 0.5081 MB / 0.9014 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.1251, allocations: 1.327 MB / 0.9027 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.1271, allocations: 2.022 MB / 0.9046 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.1271, allocations: 8 kB / 0.9046 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005215/0.1323, allocations: 3.314 MB / 0.9079 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.1323, allocations: 20.91 kB / 0.9079 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.1324, allocations: 16 kB / 0.9079 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/0.1365, allocations: 1.727 MB / 0.9096 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/0.1373, allocations: 387.3 kB / 0.91 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02281/0.1601, allocations: 35.84 MB / 0.945 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.1616, allocations: 123.9 kB / 0.9451 GB, free: 5.922 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.1618, allocations: 95.98 kB / 0.9452 GB, free: 5.828 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0009337/0.1627, allocations: 292 kB / 0.9455 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/0.1632, allocations: 330.4 kB / 0.9458 GB, free: 5.207 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/0.1692, allocations: 2.888 MB / 0.9486 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.1692, allocations: 23.94 kB / 0.9486 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/0.1692, allocations: 24 kB / 0.9486 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.1692, allocations: 7.969 kB / 0.9486 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.1802, allocations: 6.292 MB / 0.9548 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.1802, allocations: 8 kB / 0.9548 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.1808, allocations: 219.6 kB / 0.955 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005/0.1858, allocations: 1.626 MB / 0.9566 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.1859, allocations: 44 kB / 0.9566 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/0.2074, allocations: 35.77 MB / 0.9916 GB, free: 3.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2074, allocations: 8 kB / 0.9916 GB, free: 3.672 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004181/0.2116, allocations: 3.015 MB / 0.9945 GB, free: 456 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007408/0.2123, allocations: 0.4982 MB / 0.995 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.2125, allocations: 47.92 kB / 0.995 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006743/0.2132, allocations: 127.8 kB / 0.9952 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.2135, allocations: 201.5 kB / 0.9954 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.2136, allocations: 56 kB / 0.9954 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001147/0.2148, allocations: 0.977 MB / 0.9964 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2148, allocations: 0 / 0.9964 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00233/0.2171, allocations: 1.051 MB / 0.9974 GB, free: 13.48 MB / 0.9636 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.2173, allocations: 163 kB / 0.9975 GB, free: 13.31 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004939/0.2222, allocations: 5.426 MB / 1.003 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.2222, allocations: 0 / 1.003 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.2254, allocations: 4.57 MB / 1.007 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.2274, allocations: 0.9093 MB / 1.008 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008396/0.2358, allocations: 7.282 MB / 1.015 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.2368, allocations: 1.159 MB / 1.016 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001103/0.2379, allocations: 446.2 kB / 1.017 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.2381, allocations: 136.5 kB / 1.017 GB, free: 8.594 MB / 0.9792 GB Notification: Performance of SimCode: time 1.343e-06/0.2381, allocations: 3.938 kB / 1.017 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of Templates: time 0.3648/0.6029, allocations: 61.49 MB / 1.077 GB, free: 249.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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.610453428234905]