Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0009057/0.0009057, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009111/0.0009111, allocations: 169 kB / 24.06 MB, free: 456 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.989/0.989, allocations: 177.1 MB / 204.5 MB, free: 5.52 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 1.975/1.975, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.311e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.01335/0.01336, allocations: 17.82 MB / 0.8968 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007773/0.02113, allocations: 5.56 MB / 0.9022 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.02229, allocations: 206.5 kB / 0.9024 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.02345, allocations: 0.8028 MB / 0.9032 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.02537, allocations: 1.794 MB / 0.905 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.02732, allocations: 1.751 MB / 0.9067 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005748/0.03307, allocations: 8.466 MB / 0.915 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005705/0.03877, allocations: 6.022 MB / 0.9208 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005296/0.04407, allocations: 5.361 MB / 0.9261 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.04838, allocations: 4.264 MB / 0.9302 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0009484/0.04933, allocations: 0.7773 MB / 0.931 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.05034, allocations: 0.8747 MB / 0.9318 GB, free: 108 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.05222, allocations: 3.313 MB / 0.9351 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.05396, allocations: 2.398 MB / 0.9374 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004218/0.05817, allocations: 5.965 MB / 0.9433 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.05818, allocations: 4 kB / 0.9433 GB, free: 4.398 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.575e-06/0.05818, allocations: 0 / 0.9433 GB, free: 4.398 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.065e-05/0.05823, allocations: 0 / 0.9433 GB, free: 4.398 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.007373/0.06561, allocations: 5.974 MB / 0.9491 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.06565, allocations: 12.02 kB / 0.9491 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/0.06966, allocations: 1.569 MB / 0.9506 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.07385, allocations: 2.984 MB / 0.9535 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.07412, allocations: 423.4 kB / 0.954 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007335/0.07485, allocations: 0.551 MB / 0.9545 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006769/0.08162, allocations: 5.088 MB / 0.9595 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.08174, allocations: 27.98 kB / 0.9595 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004808/0.08222, allocations: 236.3 kB / 0.9597 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000333/0.08255, allocations: 350.7 kB / 0.96 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.08557, allocations: 1.615 MB / 0.9616 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02207/0.1076, allocations: 25.61 MB / 0.9866 GB, free: 6.605 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.1094, allocations: 1.14 MB / 0.9877 GB, free: 5.461 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.1104, allocations: 0.771 MB / 0.9885 GB, free: 4.691 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.1105, allocations: 30 kB / 0.9885 GB, free: 4.664 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.1105, allocations: 59.39 kB / 0.9886 GB, free: 4.594 MB / 0.948 GB Notification: Performance of pre-optimization done (n=179): time 3.878e-06/0.1105, allocations: 0 / 0.9886 GB, free: 4.594 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.01346/0.124, allocations: 5.346 MB / 0.9938 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.124, allocations: 69.41 kB / 0.9939 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.125, allocations: 1.353 MB / 0.9952 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.1251, allocations: 53.7 kB / 0.9952 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009022/0.126, allocations: 2.381 MB / 0.9976 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.1264, allocations: 0.6857 MB / 0.9982 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.1267, allocations: 429.9 kB / 0.9986 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.1268, allocations: 476.8 kB / 0.9991 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.1272, allocations: 292.2 kB / 0.9994 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.1282, allocations: 1.313 MB / 1.001 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.1296, allocations: 1.803 MB / 1.002 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.1296, allocations: 12 kB / 1.002 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002688/0.1323, allocations: 2.387 MB / 1.005 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1323, allocations: 16 kB / 1.005 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.1323, allocations: 20 kB / 1.005 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.1343, allocations: 1.184 MB / 1.006 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.1349, allocations: 327.3 kB / 1.006 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009247/0.1441, allocations: 12.17 MB / 1.018 GB, free: 4.887 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.1448, allocations: 64 kB / 1.018 GB, free: 4.824 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.2e-05/0.1449, allocations: 80 kB / 1.018 GB, free: 4.746 MB / 0.9792 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008309/0.1457, allocations: 299.9 kB / 1.019 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.1459, allocations: 282.6 kB / 1.019 GB, free: 4.164 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.1483, allocations: 1.927 MB / 1.021 GB, free: 2.203 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.1483, allocations: 20 kB / 1.021 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.1483, allocations: 16 kB / 1.021 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.1483, allocations: 11.91 kB / 1.021 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/0.154, allocations: 4.571 MB / 1.025 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.154, allocations: 4 kB / 1.025 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.1543, allocations: 143.8 kB / 1.025 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.1561, allocations: 0.9803 MB / 1.026 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/0.1561, allocations: 36 kB / 1.026 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008068/0.1642, allocations: 11.42 MB / 1.038 GB, free: 408 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1642, allocations: 4 kB / 1.038 GB, free: 404 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.1666, allocations: 2.178 MB / 1.04 GB, free: 14.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.167, allocations: 382.5 kB / 1.04 GB, free: 13.72 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.1672, allocations: 36 kB / 1.04 GB, free: 13.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.1676, allocations: 39.94 kB / 1.04 GB, free: 13.65 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.1678, allocations: 173.5 kB / 1.04 GB, free: 13.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.1678, allocations: 36 kB / 1.04 GB, free: 13.45 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004582/0.1683, allocations: 0.7236 MB / 1.041 GB, free: 12.73 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1683, allocations: 0 / 1.041 GB, free: 12.73 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00203/0.1703, allocations: 0.9922 MB / 1.042 GB, free: 11.74 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/0.1705, allocations: 155 kB / 1.042 GB, free: 11.58 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002801/0.1733, allocations: 2.79 MB / 1.045 GB, free: 8.711 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1733, allocations: 8 kB / 1.045 GB, free: 8.703 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.1751, allocations: 2.075 MB / 1.047 GB, free: 6.555 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.1767, allocations: 0.7702 MB / 1.048 GB, free: 5.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3902/0.5669, allocations: 7.793 MB / 1.055 GB, free: 176.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.568, allocations: 1.35 MB / 1.057 GB, free: 176.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009021/0.5689, allocations: 246.8 kB / 1.057 GB, free: 176.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008025/0.5697, allocations: 0.5806 MB / 1.057 GB, free: 176 MB / 1.01 GB Notification: Performance of SimCode: time 1.513e-06/0.5697, allocations: 0 / 1.057 GB, free: 176 MB / 1.01 GB Notification: Performance of Templates: time 0.06724/0.637, allocations: 48.36 MB / 1.105 GB, free: 168.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.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.649701117072254]