Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001569/0.001569, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001821/0.001821, allocations: 161 kB / 23.82 MB, free: 0.7578 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.001/1.001, allocations: 177.2 MB / 204.2 MB, free: 5.629 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.863/1.863, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.614e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009584/0.00961, allocations: 10.61 MB / 0.8219 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008796/0.01841, allocations: 6.919 MB / 0.8287 GB, free: 228 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.01986, allocations: 87.19 kB / 0.8287 GB, free: 140 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.02106, allocations: 386.1 kB / 0.8291 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.02461, allocations: 1.709 MB / 0.8308 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.02573, allocations: 0.6572 MB / 0.8314 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.02861, allocations: 2.851 MB / 0.8342 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.03002, allocations: 1.192 MB / 0.8354 GB, free: 9.316 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.03253, allocations: 2.098 MB / 0.8374 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.03381, allocations: 0.9972 MB / 0.8384 GB, free: 6.215 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.03413, allocations: 156 kB / 0.8385 GB, free: 6.062 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005871/0.03472, allocations: 319.6 kB / 0.8388 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.03513, allocations: 0.6387 MB / 0.8395 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.0358, allocations: 0.6429 MB / 0.8401 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.03732, allocations: 1.538 MB / 0.8416 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.03733, allocations: 0 / 0.8416 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.282e-06/0.03733, allocations: 4 kB / 0.8416 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.573e-05/0.03737, allocations: 0 / 0.8416 GB, free: 2.918 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002658/0.04003, allocations: 2.19 MB / 0.8437 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.04007, allocations: 12.03 kB / 0.8438 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/0.0445, allocations: 1.77 MB / 0.8455 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.04605, allocations: 1.217 MB / 0.8467 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.0461, allocations: 86.69 kB / 0.8468 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.04628, allocations: 124.3 kB / 0.8469 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.04869, allocations: 1.951 MB / 0.8488 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.04873, allocations: 11.88 kB / 0.8488 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.04884, allocations: 55.97 kB / 0.8488 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003878/0.04923, allocations: 190.1 kB / 0.849 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.05062, allocations: 0.8486 MB / 0.8499 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008244/0.05886, allocations: 8.452 MB / 0.8581 GB, free: 1.461 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.0603, allocations: 0.8298 MB / 0.8589 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.06078, allocations: 363.1 kB / 0.8593 GB, free: 276 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/0.06084, allocations: 17 kB / 0.8593 GB, free: 256 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.06087, allocations: 46.39 kB / 0.8593 GB, free: 200 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 4.308e-06/0.06088, allocations: 0 / 0.8593 GB, free: 200 kB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.01211/0.07299, allocations: 6.077 MB / 0.8653 GB, free: 10.09 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.07303, allocations: 68.72 kB / 0.8653 GB, free: 10 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/0.0739, allocations: 1.008 MB / 0.8663 GB, free: 8.988 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.07403, allocations: 53.7 kB / 0.8664 GB, free: 8.93 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.07444, allocations: 0.8097 MB / 0.8672 GB, free: 8.109 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.07481, allocations: 0.5461 MB / 0.8677 GB, free: 7.559 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.07518, allocations: 289.1 kB / 0.868 GB, free: 7.27 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.07529, allocations: 480.7 kB / 0.8684 GB, free: 6.797 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007082/0.076, allocations: 483.7 kB / 0.8689 GB, free: 6.324 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008426/0.07684, allocations: 0.8469 MB / 0.8697 GB, free: 5.348 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.07865, allocations: 1.379 MB / 0.8711 GB, free: 3.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.07865, allocations: 11.94 kB / 0.8711 GB, free: 3.828 MB / 0.823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005307/0.08396, allocations: 2.857 MB / 0.8739 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.08399, allocations: 11.94 kB / 0.8739 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.084, allocations: 4 kB / 0.8739 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/0.08936, allocations: 1.841 MB / 0.8757 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.0902, allocations: 303.5 kB / 0.876 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.1059, allocations: 19.47 MB / 0.895 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.1073, allocations: 199.7 kB / 0.8952 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.1074, allocations: 67.97 kB / 0.8952 GB, free: 10.04 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005128/0.1079, allocations: 240.3 kB / 0.8955 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.1082, allocations: 215 kB / 0.8957 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004894/0.1131, allocations: 2.768 MB / 0.8984 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.1131, allocations: 19.98 kB / 0.8984 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-05/0.1132, allocations: 20 kB / 0.8984 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.1132, allocations: 3.984 kB / 0.8984 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007194/0.1204, allocations: 4.218 MB / 0.9025 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1204, allocations: 4 kB / 0.9025 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.121, allocations: 235.6 kB / 0.9028 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004747/0.1257, allocations: 1.8 MB / 0.9045 GB, free: 320 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.1258, allocations: 43.97 kB / 0.9046 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/0.1411, allocations: 19.39 MB / 0.9235 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1412, allocations: 0 / 0.9235 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004884/0.146, allocations: 2.713 MB / 0.9261 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/0.147, allocations: 394.7 kB / 0.9265 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.1471, allocations: 32 kB / 0.9265 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008621/0.148, allocations: 203.7 kB / 0.9267 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006349/0.1486, allocations: 156.9 kB / 0.9269 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.1487, allocations: 55.95 kB / 0.9269 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001055/0.1498, allocations: 0.6136 MB / 0.9275 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/0.1498, allocations: 4 kB / 0.9275 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00182/0.1516, allocations: 0.6719 MB / 0.9282 GB, free: 6.969 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003262/0.1519, allocations: 145.8 kB / 0.9283 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004307/0.1563, allocations: 3.444 MB / 0.9317 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.1563, allocations: 0 / 0.9317 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003226/0.1595, allocations: 2.773 MB / 0.9344 GB, free: 316 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.1611, allocations: 0.5278 MB / 0.9349 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004783/0.1659, allocations: 3.224 MB / 0.9381 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.1664, allocations: 0.5082 MB / 0.9386 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008713/0.1673, allocations: 317.2 kB / 0.9389 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.1676, allocations: 100.4 kB / 0.939 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of SimCode: time 2.024e-06/0.1676, allocations: 0 / 0.939 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of Templates: time 0.05603/0.2236, allocations: 50.77 MB / 0.9886 GB, free: 9.504 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.150124371983111]