Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001075/0.001075, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.00123/0.00123, allocations: 166.9 kB / 24.86 MB, free: 9.25 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.9537/0.9537, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.831/1.831, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_R_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.855e-05, allocations: 6.906 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02242/0.02244, allocations: 20.89 MB / 0.8332 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.009535/0.03198, allocations: 6.167 MB / 0.8392 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.03347, allocations: 202.5 kB / 0.8394 GB, free: 6.105 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.03483, allocations: 0.9277 MB / 0.8403 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.0373, allocations: 2.051 MB / 0.8423 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.03934, allocations: 1.841 MB / 0.8441 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005583/0.04493, allocations: 9.329 MB / 0.8532 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005195/0.05012, allocations: 6.179 MB / 0.8593 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/0.05497, allocations: 5.758 MB / 0.8649 GB, free: 11.85 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004904/0.05987, allocations: 4.533 MB / 0.8693 GB, free: 7.309 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.06095, allocations: 0.8203 MB / 0.8701 GB, free: 6.488 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.06221, allocations: 0.906 MB / 0.871 GB, free: 5.582 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.06442, allocations: 3.41 MB / 0.8743 GB, free: 2.164 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.06684, allocations: 2.589 MB / 0.8769 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.07139, allocations: 6.331 MB / 0.8831 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.0714, allocations: 0 / 0.8831 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.0714, allocations: 0 / 0.8831 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001102/0.07151, allocations: 4 kB / 0.8831 GB, free: 9.219 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.006662/0.07817, allocations: 6.534 MB / 0.8894 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.0782, allocations: 12.03 kB / 0.8895 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.08074, allocations: 1.503 MB / 0.8909 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.08399, allocations: 3.149 MB / 0.894 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.08419, allocations: 423.7 kB / 0.8944 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000527/0.08471, allocations: 0.5628 MB / 0.8949 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/0.08962, allocations: 5.873 MB / 0.9007 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.616e-05/0.08972, allocations: 20 kB / 0.9007 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000536/0.09026, allocations: 248.3 kB / 0.9009 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005523/0.09081, allocations: 426.8 kB / 0.9013 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.09369, allocations: 1.694 MB / 0.903 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.1106, allocations: 26.69 MB / 0.9291 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.112, allocations: 1.271 MB / 0.9303 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008406/0.1129, allocations: 0.8198 MB / 0.9311 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.618e-05/0.113, allocations: 34 kB / 0.9311 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.113, allocations: 67.25 kB / 0.9312 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=209): time 3.907e-06/0.113, allocations: 0 / 0.9312 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212): time 0.009822/0.1228, allocations: 5.407 MB / 0.9365 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.1229, allocations: 77.34 kB / 0.9366 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.124, allocations: 1.667 MB / 0.9382 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.072e-05/0.1241, allocations: 65.7 kB / 0.9383 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.1251, allocations: 2.544 MB / 0.9407 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004253/0.1255, allocations: 0.7863 MB / 0.9415 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/0.126, allocations: 0.492 MB / 0.942 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1261, allocations: 484.7 kB / 0.9424 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.1265, allocations: 349 kB / 0.9428 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/0.1274, allocations: 1.391 MB / 0.9441 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.1289, allocations: 1.952 MB / 0.946 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.1289, allocations: 8 kB / 0.9461 GB, free: 6.164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00292/0.1318, allocations: 2.579 MB / 0.9486 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.1319, allocations: 20.06 kB / 0.9486 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.1319, allocations: 24 kB / 0.9486 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.134, allocations: 1.172 MB / 0.9498 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.1348, allocations: 399.3 kB / 0.9501 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009264/0.1441, allocations: 11.88 MB / 0.9617 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/0.1449, allocations: 80 kB / 0.9618 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.145, allocations: 84 kB / 0.9619 GB, free: 5.445 MB / 0.9167 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001134/0.1462, allocations: 319.9 kB / 0.9622 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.1465, allocations: 342.3 kB / 0.9625 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.149, allocations: 2.034 MB / 0.9645 GB, free: 2.715 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.149, allocations: 20 kB / 0.9645 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.149, allocations: 20.06 kB / 0.9646 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.149, allocations: 19.83 kB / 0.9646 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/0.1549, allocations: 4.768 MB / 0.9692 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.155, allocations: 4 kB / 0.9692 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.1554, allocations: 179.7 kB / 0.9694 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.1573, allocations: 1.023 MB / 0.9704 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.1574, allocations: 36 kB / 0.9704 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008229/0.1656, allocations: 11.84 MB / 0.982 GB, free: 216 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1656, allocations: 4 kB / 0.982 GB, free: 212 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.168, allocations: 2.334 MB / 0.9843 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/0.1685, allocations: 478.1 kB / 0.9847 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.1687, allocations: 43.94 kB / 0.9848 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.1692, allocations: 47.98 kB / 0.9848 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.1695, allocations: 189.5 kB / 0.985 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/0.1695, allocations: 51.94 kB / 0.9851 GB, free: 12.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005904/0.1701, allocations: 0.8789 MB / 0.9859 GB, free: 12.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1701, allocations: 0 / 0.9859 GB, free: 12.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001964/0.1721, allocations: 1.145 MB / 0.987 GB, free: 10.93 MB / 0.948 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002074/0.1723, allocations: 167 kB / 0.9872 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.175, allocations: 2.92 MB / 0.99 GB, free: 7.758 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.175, allocations: 0 / 0.99 GB, free: 7.758 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.1769, allocations: 2.183 MB / 0.9922 GB, free: 5.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.1787, allocations: 0.8213 MB / 0.993 GB, free: 4.695 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008406/0.1871, allocations: 8.417 MB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.1882, allocations: 1.404 MB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007141/0.1889, allocations: 311.4 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.19, allocations: 0.7945 MB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of SimCode: time 7.91e-07/0.19, allocations: 0 / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of Templates: time 0.06543/0.2554, allocations: 56.52 MB / 1.059 GB, free: 2.207 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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: 6.588238392956555]