Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009823/0.0009823, allocations: 81.95 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.0009597/0.0009597, allocations: 185.3 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.8814/0.8814, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.684/1.684, 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.735e-05, allocations: 3.25 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01404/0.01406, allocations: 19.49 MB / 0.8066 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008277/0.02234, allocations: 5.588 MB / 0.8121 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.02398, allocations: 190.6 kB / 0.8123 GB, free: 2.867 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.02536, allocations: 0.8338 MB / 0.8131 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.02776, allocations: 1.864 MB / 0.8149 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.02992, allocations: 1.638 MB / 0.8165 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005721/0.03564, allocations: 8.012 MB / 0.8243 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004958/0.0406, allocations: 5.214 MB / 0.8294 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004891/0.04549, allocations: 4.873 MB / 0.8342 GB, free: 12.26 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.04865, allocations: 3.749 MB / 0.8378 GB, free: 8.504 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006895/0.04934, allocations: 0.6836 MB / 0.8385 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.0506, allocations: 0.7576 MB / 0.8392 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.05217, allocations: 2.837 MB / 0.842 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.05373, allocations: 2.179 MB / 0.8441 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.0575, allocations: 5.314 MB / 0.8493 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.05751, allocations: 4 kB / 0.8493 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.02e-07/0.05751, allocations: 0 / 0.8493 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.744e-05/0.05756, allocations: 0 / 0.8493 GB, free: 12.7 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.005103/0.06267, allocations: 5.607 MB / 0.8548 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.0627, allocations: 12.03 kB / 0.8548 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.06475, allocations: 1.316 MB / 0.8561 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.06726, allocations: 2.812 MB / 0.8588 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.06742, allocations: 353.9 kB / 0.8592 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/0.06785, allocations: 492.2 kB / 0.8596 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.07229, allocations: 5.061 MB / 0.8646 GB, free: 12.27 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-05/0.07236, allocations: 23.98 kB / 0.8646 GB, free: 12.25 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.07266, allocations: 208.3 kB / 0.8648 GB, free: 12.04 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/0.07296, allocations: 369 kB / 0.8652 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.07513, allocations: 1.467 MB / 0.8666 GB, free: 10.19 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/0.09015, allocations: 25.04 MB / 0.8911 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009851/0.09114, allocations: 0.7922 MB / 0.8918 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.09165, allocations: 0.5322 MB / 0.8923 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/0.09172, allocations: 29.31 kB / 0.8924 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.09175, allocations: 58.64 kB / 0.8924 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.068e-06/0.09176, allocations: 0 / 0.8924 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.005001/0.09676, allocations: 3.089 MB / 0.8954 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.09679, allocations: 76.66 kB / 0.8955 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.09779, allocations: 1.564 MB / 0.897 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.09786, allocations: 53.7 kB / 0.8971 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009563/0.09882, allocations: 2.254 MB / 0.8993 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.09913, allocations: 0.6004 MB / 0.8999 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.09949, allocations: 413.7 kB / 0.9003 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.09958, allocations: 480.8 kB / 0.9007 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.09989, allocations: 280.2 kB / 0.901 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009814/0.1009, allocations: 1.285 MB / 0.9023 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.1021, allocations: 1.773 MB / 0.904 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.1021, allocations: 4 kB / 0.904 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002176/0.1042, allocations: 2.148 MB / 0.9061 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1043, allocations: 16 kB / 0.9061 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.1043, allocations: 20 kB / 0.9061 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.1056, allocations: 0.7108 MB / 0.9068 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/0.1063, allocations: 391.3 kB / 0.9072 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.1165, allocations: 22.67 MB / 0.9293 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008382/0.1173, allocations: 64.06 kB / 0.9294 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/0.1174, allocations: 80 kB / 0.9295 GB, free: 6.484 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 (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.0008727/0.1183, allocations: 297.9 kB / 0.9298 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.1185, allocations: 294.5 kB / 0.93 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.1202, allocations: 1.564 MB / 0.9316 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1203, allocations: 16 kB / 0.9316 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.1203, allocations: 11.94 kB / 0.9316 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.1203, allocations: 7.969 kB / 0.9316 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/0.1249, allocations: 3.849 MB / 0.9354 GB, free: 224 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.1249, allocations: 4 kB / 0.9354 GB, free: 220 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.1252, allocations: 171.7 kB / 0.9355 GB, free: 48 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.1268, allocations: 0.6719 MB / 0.9362 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.1268, allocations: 39.98 kB / 0.9362 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.1369, allocations: 22.63 MB / 0.9583 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.1369, allocations: 11.98 kB / 0.9583 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.1391, allocations: 1.85 MB / 0.9601 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006164/0.1397, allocations: 402.3 kB / 0.9605 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.1399, allocations: 32 kB / 0.9606 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.1403, allocations: 36 kB / 0.9606 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.1406, allocations: 144.9 kB / 0.9607 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.1407, allocations: 36 kB / 0.9608 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006095/0.1413, allocations: 0.836 MB / 0.9616 GB, free: 3.766 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1413, allocations: 0 / 0.9616 GB, free: 3.766 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002068/0.1433, allocations: 0.9101 MB / 0.9625 GB, free: 2.855 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 (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.0002029/0.1435, allocations: 155 kB / 0.9626 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003313/0.1468, allocations: 3.551 MB / 0.9661 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.1469, allocations: 4 kB / 0.9661 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.1487, allocations: 2.93 MB / 0.9689 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.1503, allocations: 0.7595 MB / 0.9697 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/0.1581, allocations: 6.976 MB / 0.9765 GB, free: 3.918 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000904/0.159, allocations: 1.173 MB / 0.9776 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009363/0.1599, allocations: 296.8 kB / 0.9779 GB, free: 2.426 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/0.1609, allocations: 0.736 MB / 0.9786 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of SimCode: time 8.02e-07/0.1609, allocations: 4 kB / 0.9786 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of Templates: time 0.05318/0.2141, allocations: 45.39 MB / 1.023 GB, free: 5.246 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.76083525782451]