Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009238/0.0009238, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.000963/0.000963, allocations: 165 kB / 24.28 MB, free: 276 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.9922/0.9922, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.6239 GB, free: 8.555 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,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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0.7656 kB / 0.8116 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.101e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03623/0.03625, allocations: 31.09 MB / 0.8419 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02206/0.05831, allocations: 13.78 MB / 0.8554 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.06101, allocations: 198.4 kB / 0.8556 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.006127/0.06714, allocations: 3.293 MB / 0.8588 GB, free: 1.598 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00726/0.0744, allocations: 2.838 MB / 0.8616 GB, free: 14.74 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.07946, allocations: 2.034 MB / 0.8635 GB, free: 12.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009321/0.08878, allocations: 7.787 MB / 0.8711 GB, free: 4.891 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005549/0.09433, allocations: 4.631 MB / 0.8757 GB, free: 140 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/0.0994, allocations: 4.943 MB / 0.8805 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.1024, allocations: 3.242 MB / 0.8837 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0006863/0.1031, allocations: 0.5938 MB / 0.8842 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.105, allocations: 1.423 MB / 0.8856 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.1067, allocations: 2.568 MB / 0.8881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.1084, allocations: 2.015 MB / 0.8901 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.113, allocations: 5.321 MB / 0.8953 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.113, allocations: 0 / 0.8953 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.724e-06/0.113, allocations: 0 / 0.8953 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.001e-05/0.1131, allocations: 0 / 0.8953 GB, free: 11.98 MB / 0.8542 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.005523/0.1186, allocations: 5.412 MB / 0.9006 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1186, allocations: 8.031 kB / 0.9006 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.1224, allocations: 1.562 MB / 0.9021 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.1256, allocations: 3.004 MB / 0.9051 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.1257, allocations: 316.8 kB / 0.9054 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004135/0.1261, allocations: 432.3 kB / 0.9058 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/0.131, allocations: 4.548 MB / 0.9102 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.191e-05/0.1311, allocations: 27.77 kB / 0.9102 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.1314, allocations: 184 kB / 0.9104 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004596/0.1318, allocations: 372 kB / 0.9108 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.1348, allocations: 1.625 MB / 0.9124 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.1499, allocations: 21.18 MB / 0.933 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008507/0.1507, allocations: 0.5724 MB / 0.9336 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.1514, allocations: 0.5265 MB / 0.9341 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.1515, allocations: 21.31 kB / 0.9341 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.1515, allocations: 54.7 kB / 0.9342 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=130): time 2.655e-06/0.1515, allocations: 4 kB / 0.9342 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of matching and sorting (n=199): time 0.01308/0.1646, allocations: 6.604 MB / 0.9406 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1646, allocations: 73.41 kB / 0.9407 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.1664, allocations: 1.699 MB / 0.9424 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.1665, allocations: 61.7 kB / 0.9424 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009624/0.1675, allocations: 2.129 MB / 0.9445 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/0.1679, allocations: 0.7245 MB / 0.9452 GB, free: 7.402 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/0.1684, allocations: 414.4 kB / 0.9456 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.1685, allocations: 476.8 kB / 0.9461 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/0.1693, allocations: 0.5042 MB / 0.9466 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.1705, allocations: 1.335 MB / 0.9479 GB, free: 4.332 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.1727, allocations: 2.014 MB / 0.9498 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.1727, allocations: 4 kB / 0.9498 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005645/0.1783, allocations: 3.319 MB / 0.9531 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.1784, allocations: 12 kB / 0.9531 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.1784, allocations: 16 kB / 0.9531 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004401/0.1828, allocations: 1.742 MB / 0.9548 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/0.1838, allocations: 379.4 kB / 0.9552 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/0.2036, allocations: 35.83 MB / 0.9901 GB, free: 6.316 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.2054, allocations: 127.9 kB / 0.9903 GB, free: 6.191 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.2056, allocations: 95.98 kB / 0.9904 GB, free: 6.098 MB / 0.948 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.001107/0.2067, allocations: 300.5 kB / 0.9906 GB, free: 5.793 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.2071, allocations: 330.4 kB / 0.991 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.2116, allocations: 2.888 MB / 0.9938 GB, free: 2.484 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.2117, allocations: 23.94 kB / 0.9938 GB, free: 2.461 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.08e-05/0.2117, allocations: 20 kB / 0.9938 GB, free: 2.441 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2117, allocations: 11.95 kB / 0.9938 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009112/0.2208, allocations: 6.296 MB / 1 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.2208, allocations: 11.94 kB / 1 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.2213, allocations: 215.5 kB / 1 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003877/0.2252, allocations: 1.634 MB / 1.002 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.2253, allocations: 36 kB / 1.002 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.2448, allocations: 35.75 MB / 1.037 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.2448, allocations: 15.94 kB / 1.037 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.2495, allocations: 3.019 MB / 1.04 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008765/0.2504, allocations: 0.4982 MB / 1.04 GB, free: 208 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.2506, allocations: 47.92 kB / 1.04 GB, free: 160 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.2513, allocations: 127.8 kB / 1.04 GB, free: 32 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005648/0.2519, allocations: 197.5 kB / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.2519, allocations: 63.98 kB / 1.041 GB, free: 15.78 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009949/0.2529, allocations: 0.977 MB / 1.042 GB, free: 14.79 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2529, allocations: 0 / 1.042 GB, free: 14.79 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002653/0.2556, allocations: 1.055 MB / 1.043 GB, free: 13.73 MB / 1.01 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.0002401/0.2558, allocations: 167.5 kB / 1.043 GB, free: 13.56 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005166/0.261, allocations: 5.419 MB / 1.048 GB, free: 7.816 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.261, allocations: 4 kB / 1.048 GB, free: 7.812 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003457/0.2645, allocations: 4.57 MB / 1.053 GB, free: 2.922 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.267, allocations: 0.9062 MB / 1.053 GB, free: 2.043 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3278/0.5947, allocations: 7.289 MB / 1.061 GB, free: 260.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/0.5957, allocations: 1.167 MB / 1.062 GB, free: 260.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001111/0.5968, allocations: 437 kB / 1.062 GB, free: 260.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.5971, allocations: 140.3 kB / 1.062 GB, free: 260.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.363e-06/0.5971, allocations: 3.375 kB / 1.062 GB, free: 260.7 MB / 1.01 GB Notification: Performance of Templates: time 0.07096/0.668, allocations: 61.49 MB / 1.122 GB, free: 243.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.66348758013919]