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.0009426/0.0009426, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001004/0.001004, allocations: 166 kB / 24.87 MB, free: 9.285 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.9168/0.9168, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.697/1.697, allocations: 359 MB / 0.6063 GB, free: 10.87 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 1.323e-06/1.323e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.499e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.19 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01324/0.01325, allocations: 18.34 MB / 0.8062 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009912/0.02316, allocations: 9.433 MB / 0.8154 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.02429, allocations: 195.6 kB / 0.8156 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.0255, allocations: 0.7792 MB / 0.8164 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.0286, allocations: 2.592 MB / 0.8189 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.03036, allocations: 1.579 MB / 0.8205 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005176/0.03553, allocations: 7.697 MB / 0.828 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003918/0.03945, allocations: 4.585 MB / 0.8325 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.0435, allocations: 4.901 MB / 0.8372 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.04621, allocations: 3.293 MB / 0.8405 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004947/0.0467, allocations: 0.5898 MB / 0.841 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.0475, allocations: 0.6755 MB / 0.8417 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.04895, allocations: 2.553 MB / 0.8442 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.05044, allocations: 1.996 MB / 0.8461 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.05365, allocations: 4.846 MB / 0.8509 GB, free: 11.89 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.05365, allocations: 0 / 0.8509 GB, free: 11.89 MB / 0.8074 GB Notification: Performance of FrontEnd: time 8.61e-07/0.05365, allocations: 0 / 0.8509 GB, free: 11.89 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 3.954e-05/0.05369, allocations: 0 / 0.8509 GB, free: 11.89 MB / 0.8074 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.004753/0.05844, allocations: 5.28 MB / 0.856 GB, free: 6.539 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.05847, allocations: 8.031 kB / 0.856 GB, free: 6.531 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.06111, allocations: 1.394 MB / 0.8574 GB, free: 5.133 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.06366, allocations: 2.73 MB / 0.8601 GB, free: 2.316 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.0638, allocations: 312.8 kB / 0.8604 GB, free: 2.008 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004063/0.06421, allocations: 436.3 kB / 0.8608 GB, free: 1.582 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/0.06783, allocations: 4.26 MB / 0.8649 GB, free: 12.82 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-05/0.06791, allocations: 27.75 kB / 0.865 GB, free: 12.79 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/0.06819, allocations: 180 kB / 0.8651 GB, free: 12.62 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003919/0.06859, allocations: 316.1 kB / 0.8654 GB, free: 12.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.07029, allocations: 1.289 MB / 0.8667 GB, free: 10.99 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.08309, allocations: 19.98 MB / 0.8862 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.08368, allocations: 484 kB / 0.8867 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.08414, allocations: 459.1 kB / 0.8871 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.08421, allocations: 25.31 kB / 0.8871 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.08424, allocations: 54.64 kB / 0.8872 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=130): time 2.434e-06/0.08424, allocations: 4 kB / 0.8872 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=199): time 0.009254/0.0935, allocations: 5.681 MB / 0.8927 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.09353, allocations: 73.41 kB / 0.8928 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.09463, allocations: 1.667 MB / 0.8944 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/0.09473, allocations: 57.7 kB / 0.8945 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009399/0.09567, allocations: 2.148 MB / 0.8966 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.09606, allocations: 0.7321 MB / 0.8973 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/0.09652, allocations: 426.2 kB / 0.8977 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.09662, allocations: 476.8 kB / 0.8982 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.09709, allocations: 392.3 kB / 0.8985 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008462/0.09793, allocations: 1.214 MB / 0.8997 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.09937, allocations: 1.795 MB / 0.9015 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.09938, allocations: 4 kB / 0.9015 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004061/0.1034, allocations: 3.003 MB / 0.9044 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1035, allocations: 18.12 kB / 0.9044 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.1035, allocations: 20.34 kB / 0.9044 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/0.1073, allocations: 1.688 MB / 0.9061 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.108, allocations: 335.4 kB / 0.9064 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.1252, allocations: 35.06 MB / 0.9406 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.1262, allocations: 64 kB / 0.9407 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.1263, allocations: 75.98 kB / 0.9408 GB, free: 11.46 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.0007842/0.1271, allocations: 296 kB / 0.9411 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.1274, allocations: 334.3 kB / 0.9414 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.1312, allocations: 2.642 MB / 0.944 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.1312, allocations: 20 kB / 0.944 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.1312, allocations: 20 kB / 0.944 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.1313, allocations: 11.95 kB / 0.944 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/0.1381, allocations: 5.042 MB / 0.9489 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.1381, allocations: 8 kB / 0.9489 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.1385, allocations: 175.7 kB / 0.9491 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003559/0.1421, allocations: 1.587 MB / 0.9507 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/0.1422, allocations: 44 kB / 0.9507 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.1582, allocations: 34.9 MB / 0.9848 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1582, allocations: 8 kB / 0.9848 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/0.1617, allocations: 2.8 MB / 0.9875 GB, free: 8.891 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.1623, allocations: 466.1 kB / 0.988 GB, free: 8.434 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.1625, allocations: 43.95 kB / 0.988 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.163, allocations: 40 kB / 0.988 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.1634, allocations: 209.4 kB / 0.9882 GB, free: 8.148 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/0.1635, allocations: 47.94 kB / 0.9883 GB, free: 8.102 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006316/0.1641, allocations: 0.8985 MB / 0.9892 GB, free: 7.188 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1641, allocations: 0 / 0.9892 GB, free: 7.188 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002239/0.1663, allocations: 1.055 MB / 0.9902 GB, free: 6.133 MB / 0.948 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.0002051/0.1665, allocations: 167 kB / 0.9904 GB, free: 5.957 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003962/0.1705, allocations: 5.18 MB / 0.9954 GB, free: 460 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1705, allocations: 7.938 kB / 0.9954 GB, free: 452 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.1733, allocations: 4.418 MB / 0.9997 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.1753, allocations: 0.903 MB / 1.001 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007408/0.1827, allocations: 7.273 MB / 1.008 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/0.1836, allocations: 1.159 MB / 1.009 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006686/0.1843, allocations: 310.5 kB / 1.009 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.1854, allocations: 0.7867 MB / 1.01 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of SimCode: time 1.463e-06/0.1854, allocations: 0 / 1.01 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of Templates: time 0.3699/0.5553, allocations: 65.75 MB / 1.074 GB, free: 242.3 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.531048502307385]