Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001085/0.001085, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001313/0.001313, allocations: 169 kB / 23.02 MB, free: 1.555 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.972/0.972, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.134/2.134, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.78e-05, allocations: 3.625 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01603/0.01606, allocations: 20.05 MB / 0.8978 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009245/0.0253, allocations: 5.597 MB / 0.9032 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.02787, allocations: 190.6 kB / 0.9034 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.02992, allocations: 0.8337 MB / 0.9042 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.03343, allocations: 1.86 MB / 0.9061 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.03637, allocations: 1.638 MB / 0.9077 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.007634/0.04401, allocations: 8.008 MB / 0.9155 GB, free: 12 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007506/0.05151, allocations: 5.218 MB / 0.9206 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008605/0.06012, allocations: 4.858 MB / 0.9253 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006156/0.06627, allocations: 3.691 MB / 0.9289 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001866/0.06814, allocations: 0.6797 MB / 0.9296 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.07041, allocations: 0.7809 MB / 0.9303 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003357/0.07376, allocations: 2.841 MB / 0.9331 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004373/0.07814, allocations: 2.199 MB / 0.9353 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.006658/0.0848, allocations: 5.337 MB / 0.9405 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.0848, allocations: 4 kB / 0.9405 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.633e-06/0.0848, allocations: 3.938 kB / 0.9405 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001782/0.08498, allocations: 0 / 0.9405 GB, free: 6.23 MB / 0.9011 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.008032/0.09301, allocations: 5.624 MB / 0.946 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.09306, allocations: 12.03 kB / 0.946 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/0.09723, allocations: 1.523 MB / 0.9475 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.1021, allocations: 3.103 MB / 0.9505 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.1024, allocations: 353.9 kB / 0.9508 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006701/0.103, allocations: 488.3 kB / 0.9513 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008174/0.1112, allocations: 5.394 MB / 0.9566 GB, free: 4.949 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.472e-05/0.1113, allocations: 20 kB / 0.9566 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/0.1117, allocations: 212.3 kB / 0.9568 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004357/0.1122, allocations: 373 kB / 0.9572 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004242/0.1164, allocations: 1.849 MB / 0.959 GB, free: 2.484 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02175/0.1382, allocations: 26.23 MB / 0.9846 GB, free: 7.461 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.1398, allocations: 0.8875 MB / 0.9854 GB, free: 6.559 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.1406, allocations: 0.6104 MB / 0.986 GB, free: 5.949 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.1407, allocations: 29.31 kB / 0.9861 GB, free: 5.922 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.1407, allocations: 58.64 kB / 0.9861 GB, free: 5.852 MB / 0.948 GB Notification: Performance of pre-optimization done (n=157): time 5.15e-06/0.1407, allocations: 0 / 0.9861 GB, free: 5.852 MB / 0.948 GB Notification: Performance of matching and sorting (n=160): time 0.00719/0.1479, allocations: 3.886 MB / 0.9899 GB, free: 1.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1479, allocations: 64.72 kB / 0.99 GB, free: 1.832 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.1494, allocations: 1.585 MB / 0.9915 GB, free: 208 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.1494, allocations: 53.7 kB / 0.9916 GB, free: 148 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/0.1504, allocations: 2.242 MB / 0.9938 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.1507, allocations: 0.6004 MB / 0.9943 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.1511, allocations: 401.9 kB / 0.9947 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1512, allocations: 476.8 kB / 0.9952 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.1518, allocations: 380.2 kB / 0.9956 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.1529, allocations: 1.367 MB / 0.9969 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.1547, allocations: 1.922 MB / 0.9988 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.1547, allocations: 8 kB / 0.9988 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003146/0.1578, allocations: 2.37 MB / 1.001 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.1578, allocations: 16 kB / 1.001 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.1579, allocations: 24.12 kB / 1.001 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.1595, allocations: 0.7416 MB / 1.002 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.1603, allocations: 431.2 kB / 1.002 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.1718, allocations: 23.09 MB / 1.025 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.1731, allocations: 127.9 kB / 1.025 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.1732, allocations: 92 kB / 1.025 GB, free: 11.42 MB / 0.9948 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.0009779/0.1742, allocations: 302.4 kB / 1.025 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.1745, allocations: 306.4 kB / 1.026 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.1768, allocations: 1.716 MB / 1.027 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.1768, allocations: 16 kB / 1.027 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.1768, allocations: 12 kB / 1.027 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1768, allocations: 7.969 kB / 1.027 GB, free: 9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006599/0.1834, allocations: 5.02 MB / 1.032 GB, free: 3.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.1834, allocations: 8 kB / 1.032 GB, free: 3.797 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.184, allocations: 219.6 kB / 1.032 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.1855, allocations: 0.6953 MB / 1.033 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.1856, allocations: 35.98 kB / 1.033 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4309/0.6165, allocations: 23.05 MB / 1.056 GB, free: 165.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6165, allocations: 4.562 kB / 1.056 GB, free: 165.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.6192, allocations: 1.999 MB / 1.058 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000682/0.6198, allocations: 430.6 kB / 1.058 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.62, allocations: 37.45 kB / 1.058 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.6205, allocations: 93.02 kB / 1.058 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.6208, allocations: 151.7 kB / 1.058 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.6209, allocations: 48.22 kB / 1.058 GB, free: 165.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007997/0.6217, allocations: 0.894 MB / 1.059 GB, free: 165.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6217, allocations: 1.344 kB / 1.059 GB, free: 165.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002005/0.6237, allocations: 0.9055 MB / 1.06 GB, free: 165.1 MB / 1.01 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.0002207/0.6239, allocations: 153.1 kB / 1.06 GB, free: 165.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002959/0.6269, allocations: 3.727 MB / 1.064 GB, free: 162.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6269, allocations: 8.906 kB / 1.064 GB, free: 162.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.6287, allocations: 2.999 MB / 1.067 GB, free: 160.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.6307, allocations: 0.7561 MB / 1.068 GB, free: 160.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00907/0.6398, allocations: 7.006 MB / 1.074 GB, free: 157.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.6409, allocations: 1.173 MB / 1.076 GB, free: 157.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001309/0.6422, allocations: 437.3 kB / 1.076 GB, free: 157.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.6425, allocations: 133.9 kB / 1.076 GB, free: 157.7 MB / 1.01 GB Notification: Performance of SimCode: time 2.034e-06/0.6425, allocations: 0 / 1.076 GB, free: 157.7 MB / 1.01 GB Notification: Performance of Templates: time 0.06254/0.705, allocations: 42.72 MB / 1.118 GB, free: 151.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.74318935489282]